[feat] automaticlally detect user id based on username (#29)
This commit is contained in:
committed by
GitHub
parent
4aabfa0206
commit
d85ae41fba
@@ -10,6 +10,6 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
echo $1
|
echo $1
|
||||||
echo $2
|
USER_ID=$(id -g "$USER")
|
||||||
|
|
||||||
docker build --build-arg USERNAME=$USER --no-cache --build-arg USER_ID=$1 --build-arg IMAGE_TAG=$2 -f user.dockerfile --tag curobo_docker:user_$2 .
|
docker build --build-arg USERNAME="$USER" --no-cache --build-arg USER_ID="$USER_ID" --build-arg IMAGE_TAG="$1" -f user.dockerfile --tag curobo_docker:user_"$1" .
|
||||||
Reference in New Issue
Block a user