From 615444dcbd0d78b89ea631a48401c486629280ea Mon Sep 17 00:00:00 2001 From: Jonathan Hult Date: Fri, 9 Jul 2021 09:08:22 -0500 Subject: [PATCH] Fix #16387 - rootless Docker user (#16388) Move comment to top of USER instruction --- Dockerfile.rootless | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.rootless b/Dockerfile.rootless index efdb3bb72..d3ba15f10 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -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