diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/Makefile b/docker/Makefile index 80e7ae34b3..99935023e3 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -4,7 +4,6 @@ DOCKER_IMAGE ?= gitea/gitea DOCKER_TAG ?= latest DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG) - .PHONY: docker docker: docker build --disable-content-trust=false -t $(DOCKER_REF) . @@ -12,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)" webhippie/golang:edge make clean generate 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 generate build |