Skip to content

Commit 204fc07

Browse files
authored
Fix go-gitea#16387 - rootless Docker user
Move comment to top of USER instruction
1 parent 91162bb commit 204fc07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.rootless

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ COPY docker/rootless /
5656
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /usr/local/bin/gitea
5757
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
5858

59-
USER 1000:1000 # git:git
59+
#git:git
60+
USER 1000:1000
6061
ENV GITEA_WORK_DIR /var/lib/gitea
6162
ENV GITEA_CUSTOM /var/lib/gitea/custom
6263
ENV GITEA_TEMP /tmp/gitea

0 commit comments

Comments
 (0)