aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorCirno the Strongest2020-06-06 23:42:32 +0200
committerGitHub2020-06-06 17:42:32 -0400
commit594db7fb433a386603c09676542bb0ec2e700935 (patch)
treee373b8dc93e2b4fccdecae1f791ee8d890a246db /docker
parent304542af319f506073dcc5ba29b6b28c29b04645 (diff)
Fix missing CGO_EXTRA_FLAGS build arg for docker (#11782)
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'docker')
-rw-r--r--docker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Makefile b/docker/Makefile
index 7824847e5..bd4cb176b 100644
--- a/docker/Makefile
+++ b/docker/Makefile
@@ -11,4 +11,4 @@ docker:
.PHONY: docker-build
docker-build:
- docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="bindata $(TAGS)" LDFLAGS="$(LDFLAGS)" webhippie/golang:edge make clean build
+ docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="bindata $(TAGS)" LDFLAGS="$(LDFLAGS)" CGO_EXTRA_CFLAGS="$(CGO_EXTRA_CFLAGS)" webhippie/golang:edge make clean build