This commit is contained in:
Bertrand Gouny committed 2014-05-07 08:29:43 +02:00
1 parent 4e610b3b46
commit 73bf28d2c5
8 files changed
+25 -30

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/sh
sudo docker.io build -t openldap-test .
#sudo docker.io build --no-cache=true -t openldap-test .
#sudo docker.io build -t openldap-test .
sudo docker.io build --no-cache=true -t openldap-test .
-11
View File
@@ -1,11 +0,0 @@
#!/bin/sh
# remove openldap test containers
sudo docker.io ps -a > testcontainers.out
if [ "$(grep -c "openldap-test-container" ./testcontainers.out)" -ne 0 ]; then
sudo docker.io stop openldap-test-container
sudo docker.io rm openldap-test-container
fi
rm testcontainers.out
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
./test/delete-container.sh
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
./test/delete-container.sh
+3 -3
View File
@@ -1,11 +1,11 @@
#!/bin/sh
# remove openldap test container
sudo docker.io ps -a > testcontainer.out
docker.io ps -a > testcontainer.out
if [ "$(grep -c "openldap-test-container" ./testcontainer.out)" -ne 0 ]; then
sudo docker.io stop openldap-test-container
sudo docker.io rm openldap-test-container
docker.io stop openldap-test-container
docker.io rm openldap-test-container
fi
rm testcontainer.out
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# remove openldap test image
docker.io images > testimage.out
if [ "$(grep -c "openldap-test" ./testimage.out)" -ne 0 ]; then
docker.io rmi openldap-test
fi
rm testimage.out
+1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
./test/tools/delete-container.sh
./test/tools/delete-image.sh