Archived
hotfix
This commit is contained in:
1 parent
b8f71b7953
commit
e54327660a
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -4,5 +4,5 @@ dir=$(dirname $0)
|
|||||||
. $dir/tools/config.prop
|
. $dir/tools/config.prop
|
||||||
|
|
||||||
docker.io build -t $openldapTestImage .
|
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")
|
res=$(docker.io ps -a | grep -c "$openldapTestContainer")
|
||||||
|
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
docker.io stop openldap-test-container
|
docker.io stop $openldapTestContainer
|
||||||
docker.io rm openldap-test-container
|
docker.io rm $openldapTestContainer
|
||||||
fi
|
fi
|
||||||
@@ -6,5 +6,5 @@
|
|||||||
res=$(docker.io images | grep -c "$openldapTestImage")
|
res=$(docker.io images | grep -c "$openldapTestImage")
|
||||||
|
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
docker.io rmi openldap-test
|
docker.io rmi $openldapTestImage
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user