diff options
Diffstat (limited to 'Dockerfile.rootless')
-rw-r--r-- | Dockerfile.rootless | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile.rootless b/Dockerfile.rootless index d20d4d8b8b..b1518af31a 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -22,6 +22,9 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \ && make clean-all build +# Begin env-to-ini build +RUN go build contrib/environment-to-ini/environment-to-ini.go + FROM alpine:3.13 LABEL maintainer="maintainers@gitea.io" @@ -51,6 +54,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 USER git:git ENV GITEA_WORK_DIR /var/lib/gitea |