-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (19 loc) · 789 Bytes
/
makefile
File metadata and controls
27 lines (19 loc) · 789 Bytes
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
#
# Makefile
#
.PHONY: help build
.DEFAULT_GOAL := help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
# ----------------------------------------------------------------------------------------------------------------
install: ## Installs all dependencies
curl -O https://orca-build.io/downloads/orca.zip
unzip -o orca.zip
rm -f orca.zip
generate: ## Generates all artifacts for this image
@php orca.phar --directory=.
clear: ## Clears all dangling images
docker images -aq -f 'dangling=true' | xargs docker rmi
docker volume ls -q -f 'dangling=true' | xargs docker volume rm
build: ## Builds the proxy image
@cd ./dist/images/proxy/latest && docker build -t dockware/proxy:latest .