Fetch the "busybox" image source so we can build locally instead of pulling during the integration tests

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi
2014-04-14 13:35:54 -06:00
parent e5ad715e59
commit 7bb72fa080
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -31,7 +31,11 @@ bundle_test_integration_cli() {
sleep 2
if ! docker inspect busybox &> /dev/null; then
( set -x; docker pull busybox )
if [ -d /docker-busybox ]; then
( set -x; docker build -t busybox /docker-busybox )
else
( set -x; docker pull busybox )
fi
fi
bundle_test_integration_cli