Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

Makefile 357B

123456789101112
  1. #Makefile related to docker
  2. DOCKER_IMAGE ?= gitea/gitea
  3. DOCKER_TAG ?= latest
  4. DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
  5. .PHONY: docker
  6. docker:
  7. 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
  8. docker build -t $(DOCKER_REF) .