diff options
Diffstat (limited to 'docker/Makefile')
-rw-r--r-- | docker/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/Makefile b/docker/Makefile new file mode 100644 index 0000000000..08e0b43849 --- /dev/null +++ b/docker/Makefile @@ -0,0 +1,11 @@ +#Makefile related to docker + +DOCKER_IMAGE ?= gitea/gitea +DOCKER_TAG ?= latest +DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG) + + +.PHONY: docker +docker: + 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 build -t $(DOCKER_REF) . |