github.com/eikeon/docker@v1.5.0-rc4/project/make/.ensure-busybox (about) 1 #!/bin/bash 2 3 if ! docker inspect busybox &> /dev/null; then 4 if [ -d /docker-busybox ]; then 5 source "$(dirname "$BASH_SOURCE")/.ensure-scratch" 6 ( set -x; docker build -t busybox /docker-busybox ) 7 else 8 ( set -x; docker pull busybox ) 9 fi 10 fi