2024-01-14 14:57:09 -08:00
|
|
|
#!/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
|
2024-09-15 18:47:22 -07:00
|
|
|
udbuild -e test.env "$@"
|
2024-01-14 14:57:09 -08:00
|
|
|
else
|
|
|
|
echo using existing image, use -f to force rebuild
|
|
|
|
fi
|
|
|
|
|