Skip to content

Commit 302c2f0

Browse files
committed
feat: add docs and make target for heroku-18 bob builds
1 parent 14c7e26 commit 302c2f0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ buildenv-heroku-16:
3636
@echo
3737
@docker run -it --rm python-buildenv-heroku-16
3838

39+
buildenv-heroku-18:
40+
@echo "Creating build environment (heroku-18)..."
41+
@echo
42+
@docker build --pull -f Dockerfile.heroku-18 -t python-buildenv-heroku-18 .
43+
@echo
44+
@echo "Usage..."
45+
@echo
46+
@echo " $$ export AWS_ACCESS_KEY_ID=foo AWS_SECRET_ACCESS_KEY=bar # Optional unless deploying"
47+
@echo " $$ bob build runtimes/python-2.7.13"
48+
@echo " $$ bob deploy runtimes/python-2.7.13"
49+
@echo
50+
@docker run -it --rm python-buildenv-heroku-18
51+
3952
tools:
4053
git clone https://github.com/kennethreitz/pip-pop.git
4154
mv pip-pop/bin/* vendor/pip-pop/

builds/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,11 @@ For Heroku-16 stack
3737
2. From the root of the buildpack repository, run: `make buildenv-heroku-16`
3838
3. Follow the instructions displayed!
3939

40+
For Heroku-18 stack
41+
-------------------
42+
43+
1. Ensure GNU Make and Docker are installed.
44+
2. From the root of the buildpack repository, run: `make buildenv-heroku-18`
45+
3. Follow the instructions displayed!
4046

4147
Enjoy :)

0 commit comments

Comments
 (0)