mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 06:38:37 -04:00 
			
		
		
		
	Intorduce "config edit-ini" sub command to help maintaining INI config file (#35735)
Ref: #32669. Helps addressing https://gitea.com/gitea/helm-chart/issues/356.
This commit is contained in:
		| @@ -26,18 +26,12 @@ 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 | ||||
|  | ||||
| # Copy local files | ||||
| COPY docker/rootless /tmp/local | ||||
|  | ||||
| # Set permissions | ||||
| RUN chmod 755 /tmp/local/usr/local/bin/docker-entrypoint.sh \ | ||||
|               /tmp/local/usr/local/bin/docker-setup.sh \ | ||||
|               /tmp/local/usr/local/bin/gitea \ | ||||
|               /go/src/code.gitea.io/gitea/gitea \ | ||||
|               /go/src/code.gitea.io/gitea/environment-to-ini | ||||
| RUN chmod 755 /tmp/local/usr/local/bin/* \ | ||||
|               /go/src/code.gitea.io/gitea/gitea | ||||
|  | ||||
| FROM docker.io/library/alpine:3.22 | ||||
| LABEL maintainer="maintainers@gitea.io" | ||||
| @@ -71,7 +65,6 @@ RUN chown git:git /var/lib/gitea /etc/gitea | ||||
|  | ||||
| COPY --from=build-env /tmp/local / | ||||
| COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea | ||||
| COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini | ||||
|  | ||||
| # git:git | ||||
| USER 1000:1000 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user