Support docker containers with non-root users and host user uid not equal to 1000 #191

Merged
telackey merged 4 commits from dboreham/builder-js-uid into main 2023-02-25 06:06:13 +00:00
Showing only changes of commit 5022e355ed - Show all commits

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}