Propagate build env vars

This commit is contained in:
David Boreham 2023-02-24 22:26:02 -07:00
parent 6704cd7527
commit 5022e355ed

View File

@ -11,4 +11,4 @@ fi
image_tag=$1
build_dir=$2
echo "Building ${image_tag} in ${build_dir}"
docker build -t ${image_tag} ${build_dir}
docker build -t ${image_tag} --build-arg CERC_HOST_UID=${CERC_HOST_UID} --build-arg CERC_HOST_GID=${CERC_HOST_GID} ${build_dir}