forked from Zenysis/Harmony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (28 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
DOCKER_NAMESPACE=zengineering
DOCKER_TAG=latest
default:
@echo "Please specify a target to make"
web_client_build:
@docker build -t $(DOCKER_NAMESPACE)/harmony-web-client:$(DOCKER_TAG) \
-f docker/web/Dockerfile_web-client .
web_client_push:
docker push $(DOCKER_NAMESPACE)/harmony-web-client:$(DOCKER_TAG)
web_server_build:
@docker build -t $(DOCKER_NAMESPACE)/harmony-web-server:$(DOCKER_TAG) \
-f docker/web/Dockerfile_web-server .
web_server_push:
@docker push $(DOCKER_NAMESPACE)/harmony-web-server:$(DOCKER_TAG)
web_build:
@docker build -t $(DOCKER_NAMESPACE)/harmony-web:$(DOCKER_TAG) \
-f docker/web/Dockerfile_web \
--build-arg NAMESPACE=$(DOCKER_NAMESPACE) \
--build-arg TAG=$(DOCKER_TAG) .
web_push:
@docker push $(DOCKER_NAMESPACE)/harmony-web:$(DOCKER_TAG)
etl_pipeline_build:
@docker build -t $(DOCKER_NAMESPACE)/harmony-etl-pipeline:$(DOCKER_TAG) \
-f docker/pipeline/Dockerfile .
etl_pipeline_push:
@docker push $(DOCKER_NAMESPACE)/harmony-etl-pipeline:$(DOCKER_TAG)
all_build: web_client_build web_server_build web_build etl_pipeline_build
all_push: web_client_push web_server_push web_push etl_pipeline_push