forked from digitalearthafrica/deafrica-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (20 loc) · 827 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
help: ## Print this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build: ## Build the default sudo image using Docker Compose
docker-compose -f docker-compose.yml -f docker-compose.override.yaml build
up: ## Start up an environment with a database
docker-compose up
down: ## Bring down the system
docker-compose down
shell:
docker-compose exec sandbox bash
up-k8s: ## Start up an environment without a database
docker-compose -f docker-compose.yml up
clean:
docker-compose down --rmi all -v
pip_compile:
pip-compile --verbose \
--extra-index-url=https://google-coral.github.io/py-repo/ \
--extra-index-url=https://packages.dea.ga.gov.au \
--output-file docker/requirements.txt \
docker/requirements.in