Correct docker cleaning 13/12513/1
authorStanislaw Kardach <kda@semihalf.com>
Wed, 20 Apr 2016 23:34:58 +0000 (16:34 -0700)
committerStanislaw Kardach <kda@semihalf.com>
Wed, 20 Apr 2016 23:34:58 +0000 (16:34 -0700)
So there was a very stupid mistake in the docker container cleaning
that this patch fixes.

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
Makefile

index e58fe0d..0b285a9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,8 +37,8 @@ patches-import:
                fi'
 clean-docker:
        docker stop FUEL_CENTOS_8.0 || true
-       docker rm $(docker ps -a -q) || true
-       docker rmi -f $(docker images -q) || true
+       docker rm $(shell docker ps -a -q) || true
+       docker rmi -f $(shell docker images -q) || true
 
 clean-build:
        sudo rm -rf /tmp/fuel-main