blob: 3861faaf1160437a9de57f2597935ff87ef20833 [file] [log] [blame]
#!/bin/bash
if ! docker inspect busybox &> /dev/null; then
if [ -d /docker-busybox ]; then
source "$(dirname "$BASH_SOURCE")/.ensure-scratch"
( set -x; docker build -t busybox /docker-busybox )
else
( set -x; docker pull busybox )
fi
fi