integration: force start_docker_with_busybox to only take the latest tag

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-05-06 15:47:53 -07:00
parent cfbb555bba
commit 95511f1074
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ function swarm_join_cleanup() {
function start_docker_with_busybox() {
# Preload busybox if not available.
[ "$(docker_host images -q busybox)" ] || docker_host pull busybox
[ -f "$BUSYBOX_IMAGE" ] || docker_host save -o "$BUSYBOX_IMAGE" busybox
[ "$(docker_host images -q busybox)" ] || docker_host pull busybox:latest
[ -f "$BUSYBOX_IMAGE" ] || docker_host save -o "$BUSYBOX_IMAGE" busybox:latest
# Start the docker instances.
local current=${#DOCKER_CONTAINERS[@]}