Archived
Merge branch 'feature-makefile' into release-0.8.0
This commit is contained in:
commit
e4a4f6a667
3 files changed
+29
-2
No files matched your search
@@ -5,3 +5,9 @@
|
||||
|
||||
echo "------- End -------"
|
||||
echo $error " failed " $ok " succeeded"
|
||||
|
||||
if [ "$error" -eq 0 ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
echo "docker.io run --name $testContainer $runOptions -d $testImage"
|
||||
ID=`docker.io run --name $testContainer $runOptions -d $testImage`
|
||||
sleep 7
|
||||
sleep 10
|
||||
|
||||
echo " --> Obtaining IP"
|
||||
IP=`docker inspect -f "{{ .NetworkSettings.IPAddress }}" $ID`
|
||||
IP=`docker.io inspect -f "{{ .NetworkSettings.IPAddress }}" $ID`
|
||||
if [ "$IP" = "" ]; then
|
||||
abort "Unable to obtain container IP"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user