uci-docker-caddy/test/build

11 lines
285 B
Bash
Executable File

#!/bin/bash
[[ $1 = "-f" ]] && force=force && shift
if [[ ! $(udbuild image exists -e test.env) || $force ]] ; then
echo $force building image
../build -e test.env -a build.env $@
echo done building image
else
echo using existing image, use -f to force rebuild
fi