11 lines
247 B
Plaintext
11 lines
247 B
Plaintext
![]() |
#!/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
|