docker use executing username to avoid root file perms, support absolute paths in repoapi_client
This commit is contained in:
parent
85d4f888ea
commit
f4d72cd201
3 changed files with 2 additions and 7 deletions
|
@ -24,5 +24,6 @@ docker build -t $DOTNET_BUILD_CONTAINER_TAG scripts/docker/
|
|||
docker rm -f $DOTNET_BUILD_CONTAINER_NAME
|
||||
docker run --rm \
|
||||
-v $DOCKER_HOST_SHARE_DIR:/opt/code \
|
||||
-u $(whoami) \
|
||||
-e DOTNET_BUILD_VERSION=$DOTNET_BUILD_VERSION \
|
||||
$DOTNET_BUILD_CONTAINER_TAG $BUILD_COMMAND $1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue