Skip to content

Commit

Permalink
Use id -g for determining the gid instead of -u (OpenAPITools#5899)
Browse files Browse the repository at this point in the history
fix wrong group id lookup in run-in-docker.sh
  • Loading branch information
Felix Becker authored and wing328 committed Jun 26, 2017
1 parent 68d878c commit 9e420f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker run --rm -it \
-w /gen \
-e GEN_DIR=/gen \
-e MAVEN_CONFIG=/var/maven/.m2 \
-u "$(id -u):$(id -u)" \
-u "$(id -u):$(id -g)" \
-v "${PWD}:/gen" \
-v "${maven_cache_repo}:/var/maven/.m2/repository" \
--entrypoint /gen/docker-entrypoint.sh \
Expand Down

0 comments on commit 9e420f2

Please sign in to comment.