summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGusted <gusted@noreply.codeberg.org>2024-08-21 16:25:54 +0200
committerGusted <gusted@noreply.codeberg.org>2024-08-21 16:25:54 +0200
commitf0fa959c4e8f78b369acb73a8f4b0b270aae3748 (patch)
tree741e9c90059977167a51555117a12998df086885 /Dockerfile
parentMerge pull request 'Update golang packages (forgejo) (minor)' (#5048) from re... (diff)
parentfix: release: Forgejo version is not set (diff)
downloadforgejo-f0fa959c4e8f78b369acb73a8f4b0b270aae3748.tar.xz
forgejo-f0fa959c4e8f78b369acb73a8f4b0b270aae3748.zip
Merge pull request 'fix: release: Forgejo version is not set' (#5042) from earl-warren/forgejo:wip-dockerfile into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5042 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 1075202942..ebb056fb14 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,7 +36,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
RUN make clean
RUN make frontend
RUN go build contrib/environment-to-ini/environment-to-ini.go && xx-verify environment-to-ini
-RUN make RELEASE_VERSION=$RELEASE_VERSION GOFLAGS="-trimpath" LDFLAGS="-buildid=" go-check generate-backend static-executable && xx-verify gitea
+RUN LDFLAGS="-buildid=" make RELEASE_VERSION=$RELEASE_VERSION GOFLAGS="-trimpath" go-check generate-backend static-executable && xx-verify gitea
# Copy local files
COPY docker/root /tmp/local