mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user