File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ENV GOPROXY ${GOPROXY:-direct}
99ARG GITEA_VERSION
1010ARG TAGS="sqlite sqlite_unlock_notify"
1111ENV TAGS "bindata $TAGS"
12+ ARG CGO_EXTRA_CFLAGS
1213
1314# Build deps
1415RUN apk --no-cache add build-base git nodejs npm
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ docker:
1111
1212.PHONY : docker-build
1313docker-build :
14- 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
14+ 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
You can’t perform that action at this time.
0 commit comments