aboutsummaryrefslogtreecommitdiff
path: root/wekan/Makefile
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2022-12-06 09:18:19 -0800
committerMike Crute <mike@crute.us>2022-12-06 09:18:19 -0800
commit080b38448a441e51213983edd5c4d16d1c2858e1 (patch)
tree075d71b5036990a64b7d0a5e4a656aea0bac9398 /wekan/Makefile
parent384e3dce5ff75d7a92455f9bd1a5f4e07a20ae67 (diff)
downloaddockerfiles-080b38448a441e51213983edd5c4d16d1c2858e1.tar.bz2
dockerfiles-080b38448a441e51213983edd5c4d16d1c2858e1.tar.xz
dockerfiles-080b38448a441e51213983edd5c4d16d1c2858e1.zip
wekan: add simplevisor build
Diffstat (limited to 'wekan/Makefile')
-rw-r--r--wekan/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/wekan/Makefile b/wekan/Makefile
new file mode 100644
index 0000000..0a6d096
--- /dev/null
+++ b/wekan/Makefile
@@ -0,0 +1,35 @@
1VERSION=6.28
2VERSION_TAG=$(VERSION)
3IMAGE=docker.crute.me/wekan:$(VERSION_TAG)
4LATEST=$(subst :$(VERSION_TAG),,$(IMAGE)):latest
5
6.PHONY: all
7all:
8 sed -i "s#^FROM .*#FROM quay.io/wekan/wekan:v$(VERSION)#" Dockerfile
9 curl -O https://letsencrypt.org/certs/isrgrootx1.pem
10 curl -O https://letsencrypt.org/certs/isrg-root-x1-cross-signed.pem
11 docker pull quay.io/wekan/wekan:v$(VERSION)
12 docker build -t $(IMAGE) .
13
14.PHONY: all-no-cache
15all-no-cache:
16 docker build --no-cache -t $(IMAGE) .
17
18.PHONY: run
19run:
20 docker run -d \
21 -p 9110:9000 \
22 -p 9111:9001 \
23 -v /srv/code:/srv/code \
24 $(IMAGE)
25
26.PHONY: publish
27publish:
28 docker push $(IMAGE)
29 docker tag $(IMAGE) $(LATEST)
30 docker push $(LATEST)
31
32
33.PHONY: clean
34clean:
35 rm -f isrg-root-x1-cross-signed.pem isrgrootx1.pem || true