-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
48 lines (38 loc) · 1.72 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
40
41
42
43
44
45
46
47
48
composer:
cd composer && docker buildx build --platform linux/amd64,linux/arm64 -t gunterthomas/composer:2.0.8 --push . && cd ..
.PHONY: composer
composer81:
cd composer && docker buildx build --platform linux/amd64,linux/arm64 -t gunterthomas/composer:2.4.3 --push --file Dockerfile_81 . && cd ..
.PHONY: composer81
composer83:
cd composer && docker buildx build --platform linux/amd64,linux/arm64 -t gunterthomas/composer:2.7.7 --push --file Dockerfile_83 . && cd ..
.PHONY: composer83
php:
cd php && docker buildx build --build-arg UID=1000 --build-arg GID=1000 --platform linux/amd64,linux/arm64 -t gunterthomas/php:7.4 --push --file Dockerfile_74 .
.PHONY: php
phplatest:
cd php && docker buildx build --build-arg UID=1000 --build-arg GID=1000 --platform linux/amd64,linux/arm64 -t gunterthomas/php:latest --push --file Dockerfile_74 .
.PHONY: phplatest
php81:
cd php && docker buildx build --build-arg UID=1000 --build-arg GID=1000 --platform linux/amd64,linux/arm64 -t gunterthomas/php:8.1 --push --file Dockerfile_81 .
.PHONY: php81
php83:
cd php && docker buildx build --build-arg UID=1000 --build-arg GID=1000 --platform linux/amd64,linux/arm64 -t gunterthomas/php:8.3 --push --file Dockerfile_83 .
.PHONY: php83
gearman:
cd gearman-job-server && docker buildx build --platform linux/amd64,linux/arm64 -t gunterthomas/gearman-job-server:latest --push .
.PHONY: gearman
help: ## Show this help prompt
@echo ' Usage:'
@echo ''
@echo ' make <target>'
@echo ''
@echo ' Targets:'
@echo ''
@sed -n 's/^##//p' $< $(MAKEFILE_LIST)
@grep -E '^[a-zA-Z_-]+:.*?## ?.*$$' $(MAKEFILE_LIST) | sed 's/ ##//g' | sed '/.*/ s/^/ /' | column -t -s ':' | sort
@echo ''
.PHONY: help
%:
@$(MAKE) --no-print-directory help
.DEFAULT_GOAL := help