From 6e2c64f27adffbb0ffd8a8fc8d7315a66fc90b49 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 27 Oct 2021 00:21:01 +0800 Subject: [PATCH] Fix docker rootless build (#17441) --- Dockerfile.rootless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.rootless b/Dockerfile.rootless index 3df6e8be66..f6430e5f69 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -55,7 +55,7 @@ RUN chown git:git /var/lib/gitea /etc/gitea 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 -RUN chmod 755 /usr/local/bin/docker-entrypoint.sh /app/gitea/gitea /usr/local/bin/environment-to-ini /usr/local/bin/docker-setup.sh +RUN chmod 755 /usr/local/bin/docker-entrypoint.sh /usr/local/bin/docker-setup.sh /usr/local/bin/gitea /usr/local/bin/environment-to-ini #git:git USER 1000:1000