aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-07-21 16:41:03 -0400
committerGitHub <noreply@github.com>2020-07-21 16:41:03 -0400
commit366ca88eead635624644e3b494ce6f264537f169 (patch)
treeb43a2720be5294f36c6dcc9d7d02b52c76a89ea7 /docker/Makefile
parentd489def5edb655bab1cd1afcc1d6426e15eb963d (diff)
downloadgitea-366ca88eead635624644e3b494ce6f264537f169.tar.gz
gitea-366ca88eead635624644e3b494ce6f264537f169.zip
merge docker makefile into main one (#12289)
* merge docker makefile into main one * add readme for docker folder * don't include a file that doesn't exist anymore Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'docker/Makefile')
-rw-r--r--docker/Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/docker/Makefile b/docker/Makefile
deleted file mode 100644
index bd4cb176bd..0000000000
--- a/docker/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#Makefile related to docker
-
-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) .
-# support also build args docker build --build-arg GITEA_VERSION=v1.2.3 --build-arg TAGS="bindata sqlite sqlite_unlock_notify" .
-
-.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)" CGO_EXTRA_CFLAGS="$(CGO_EXTRA_CFLAGS)" webhippie/golang:edge make clean build