mirror of https://github.com/docker/docs.git
cli integ: don't fetch busybox if it exists
Don't make calls to the registry if the image exists already. Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
parent
931f065560
commit
449f92f11e
|
@ -29,8 +29,11 @@ bundle_test_integration_cli() {
|
||||||
|
|
||||||
# pull the busybox image before running the tests
|
# pull the busybox image before running the tests
|
||||||
sleep 2
|
sleep 2
|
||||||
( set -x; docker pull busybox )
|
|
||||||
|
|
||||||
|
if ! docker inspect busybox &> /dev/null; then
|
||||||
|
( set -x; docker pull busybox )
|
||||||
|
fi
|
||||||
|
|
||||||
bundle_test_integration_cli
|
bundle_test_integration_cli
|
||||||
|
|
||||||
DOCKERD_PID=$(set -x; cat $DEST/docker.pid)
|
DOCKERD_PID=$(set -x; cat $DEST/docker.pid)
|
||||||
|
|
Loading…
Reference in New Issue