@@ -4,5 +4,5 @@ dir=$(dirname $0)
. $dir/tools/config.prop
docker.io build -t $openldapTestImage .
-#docker.io build --no-cache=true -t openldap-test .
+#docker.io build --no-cache=true -t $openldapTestImage .
@@ -6,6 +6,6 @@
res=$(docker.io ps -a | grep -c "$openldapTestContainer")
if [ $res -ne 0 ]; then
- docker.io stop openldap-test-container
- docker.io rm openldap-test-container
+ docker.io stop $openldapTestContainer
+ docker.io rm $openldapTestContainer
fi
@@ -6,5 +6,5 @@
res=$(docker.io images | grep -c "$openldapTestImage")
- docker.io rmi openldap-test
+ docker.io rmi $openldapTestImage