Merge pull request #829 from josegonzalez/heroku-18-build

feat: add docs and make target for heroku-18 bob builds
This commit is contained in:
Casey
2019-08-21 15:41:30 -07:00
committed by GitHub
2 changed files with 19 additions and 0 deletions
+13
View File
@@ -36,6 +36,19 @@ buildenv-heroku-16:
@echo
@docker run -it --rm python-buildenv-heroku-16
buildenv-heroku-18:
@echo "Creating build environment (heroku-18)..."
@echo
@docker build --pull -f Dockerfile.heroku-18 -t python-buildenv-heroku-18 .
@echo
@echo "Usage..."
@echo
@echo " $$ export AWS_ACCESS_KEY_ID=foo AWS_SECRET_ACCESS_KEY=bar # Optional unless deploying"
@echo " $$ bob build runtimes/python-2.7.13"
@echo " $$ bob deploy runtimes/python-2.7.13"
@echo
@docker run -it --rm python-buildenv-heroku-18
tools:
git clone https://github.com/kennethreitz/pip-pop.git
mv pip-pop/bin/* vendor/pip-pop/
+6
View File
@@ -37,5 +37,11 @@ For Heroku-16 stack
2. From the root of the buildpack repository, run: `make buildenv-heroku-16`
3. Follow the instructions displayed!
For Heroku-18 stack
-------------------
1. Ensure GNU Make and Docker are installed.
2. From the root of the buildpack repository, run: `make buildenv-heroku-18`
3. Follow the instructions displayed!
Enjoy :)