uci-docker-build/test/build

11 lines
284 B
Bash
Executable File

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