forked from heroku/heroku-buildpack-nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (22 loc) · 1.58 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
build: bin/nginx-cedar-14 bin/nginx-heroku-16 bin/nginx-heroku-18 bin/nginx-heroku-20 bin/nginx-heroku-22
bin/nginx-heroku-22:
@echo "Building nginx in Docker for heroku-22..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-22" -e "PCRE_VERSION=10.40" -e "HEADERS_MORE_VERSION=0.34" -w /buildpack heroku/heroku:22-build scripts/build_nginx /buildpack/bin/nginx-heroku-22
bin/nginx-heroku-20:
@echo "Building nginx in Docker for heroku-20..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-20" -e "PCRE_VERSION=8.43" -e "HEADERS_MORE_VERSION=0.33" -w /buildpack heroku/heroku:20-build scripts/build_nginx /buildpack/bin/nginx-heroku-20
bin/nginx-heroku-18:
@echo "Building nginx in Docker for heroku-18..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-18" -e "PCRE_VERSION=8.43" -e "HEADERS_MORE_VERSION=0.33" -w /buildpack heroku/heroku:18-build scripts/build_nginx /buildpack/bin/nginx-heroku-18
bin/nginx-heroku-16:
@echo "Building nginx in Docker for heroku-16..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-16" -w /buildpack heroku/heroku:16-build scripts/build_nginx /buildpack/bin/nginx-heroku-16
bin/nginx-cedar-14:
@echo "Building nginx in Docker for cedar-14..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=cedar-14" -w /buildpack heroku/cedar:14 scripts/build_nginx /buildpack/bin/nginx-cedar-14
shell:
@echo "Opening heroku-22 shell..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-22" -e "PORT=5000" -w /buildpack heroku/heroku:22 bash
clean:
@rm -Rf build
@mkdir -p build