]> source.dussan.org Git - gitea.git/commitdiff
Fix #16387 - rootless Docker user (#16388)
authorJonathan Hult <jonathan@jonathanhult.com>
Fri, 9 Jul 2021 14:08:22 +0000 (09:08 -0500)
committerGitHub <noreply@github.com>
Fri, 9 Jul 2021 14:08:22 +0000 (10:08 -0400)
Move comment to top of USER instruction

Dockerfile.rootless

index efdb3bb7288914fdc96e7e05038dc5598bdca0f9..d3ba15f109dad72964f60132be114dd8c1f0fc6d 100644 (file)
@@ -56,7 +56,8 @@ COPY docker/rootless /
 COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /usr/local/bin/gitea
 COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
 
-USER 1000:1000 # git:git
+#git:git
+USER 1000:1000
 ENV GITEA_WORK_DIR /var/lib/gitea
 ENV GITEA_CUSTOM /var/lib/gitea/custom
 ENV GITEA_TEMP /tmp/gitea