-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
21 lines (15 loc) · 822 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VERSION ?= latest
base-build:
docker build --build-arg AZKABAN_VERSION=$(VERSION) --rm -f "base/Dockerfile" -t dirathea/azkaban-base:$(VERSION) base
docker push dirathea/azkaban-base:$(VERSION)
solo: base-build
docker build --build-arg BASE_VERSION=$(VERSION) --rm -f "solo-server/Dockerfile" -t dirathea/azkaban-solo:$(VERSION) solo-server
docker push dirathea/azkaban-solo:$(VERSION)
web: base-build
docker build --build-arg BASE_VERSION=$(VERSION) --rm -f "web/Dockerfile" -t dirathea/azkaban-web:$(VERSION) web
docker push dirathea/azkaban-web:$(VERSION)
executor: base-build
docker build --build-arg BASE_VERSION=$(VERSION) --rm -f "executor/Dockerfile" -t dirathea/azkaban-executor:$(VERSION) executor
docker push dirathea/azkaban-executor:$(VERSION)
multi-executor: web executor
all: solo web executor