uci-docker-caddy/test/build

11 lines
285 B
Plaintext
Raw Permalink Normal View History

#!/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