uci-docker-build/test/build

11 lines
280 B
Plaintext
Raw Normal View History

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