-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
50 lines (31 loc) · 861 Bytes
/
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
40
41
42
43
44
45
46
47
48
49
50
# Pull in submodules
include .mk/dedup.mk
include .mk/help.mk
include .mk/docker.mk
# Define shortcuts for some goals
.PHONY: run
## Run application using docker-compose
run: docker-run
.PHONY: stop
## Stop application using docker-compose
stop: docker-stop
.PHONY: setup
## Setup docker-compose application (generate .env file in needed)
setup: docker-setup
.PHONY: update-setup
## Update docker-compose application (regenerate .env file)
setup-update: docker-setup-update
.PHONY: purge
## Remove docker-compose application and all its images and volumes.
purge: docker-purge
# Define default goal
.DEFAULT_GOAL := help
.PHONY: build
## Build Docker images locally.
build: docker-build
.PHONY: rebuild
## Rebuild Docker images locally (no cache is used).
rebuild: docker-rebuild
.PHONY: pull
## Pull images from Docker Hub
pull: docker-pull