We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb88850 + e6fac3e commit feb087eCopy full SHA for feb087e
1 file changed
src/bci_build/package/git.py
@@ -46,8 +46,8 @@
46
"shadow",
47
],
48
volumes=["/workspace"],
49
- custom_end=rf"""{DOCKERFILE_RUN} useradd -r -u 1000 -g 0 -d /workspace -s /bin/bash git
50
-{DOCKERFILE_RUN} mkdir -p /workspace && chown git:0 /workspace && chmod 775 /workspace
+ custom_end=rf"""{DOCKERFILE_RUN} useradd -U -u 1000 -d /workspace -s /bin/bash git
+{DOCKERFILE_RUN} mkdir -p /workspace && chown git: /workspace && chmod 755 /workspace
51
WORKDIR /workspace
52
ENV HOME=/workspace
53
""",
0 commit comments