aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Makefile
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-06 23:42:32 +0200
committerGitHub <noreply@github.com>2020-06-06 17:42:32 -0400
commit594db7fb433a386603c09676542bb0ec2e700935 (patch)
treee373b8dc93e2b4fccdecae1f791ee8d890a246db /docker/Makefile
parent304542af319f506073dcc5ba29b6b28c29b04645 (diff)
downloadgitea-594db7fb433a386603c09676542bb0ec2e700935.tar.gz
gitea-594db7fb433a386603c09676542bb0ec2e700935.zip
Fix missing CGO_EXTRA_FLAGS build arg for docker (#11782)
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'docker/Makefile')
-rw-r--r--docker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Makefile b/docker/Makefile
index 7824847e54..bd4cb176bd 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