uci-docker-build/test/build
2024-09-15 18:47:22 -07:00

10 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