A base image that allows easy extension to run Heroku like apps.
If you have a Heroku app, just run add a Dockerfile:
FROM saulshanabrook/buildpack
CMD start web
Build it
$ docker build -t app .
...and run it
$ docker run -rm -it -p 8080:8080 app .
If you want to add some environmental variables when Docker is building
(for example to change the BUILDPACK_URL), just add them to a build.env
file in the root of your project.
$ echo 'BUILDPACK_URL=some_crazy_buildpack' >> build.env
I have tried to keep this as small as possible, harnessing all of the actual logic from Flynn's slugbuilder and slugrunner.
I am basically copying those Dockerfiles and combinging them, so as to allow a single image to inherit from which does everything, instead of passing tarballs around of images and slugs.
Originally I wanted to use the advertised API for slugbuilder and slugrunner, to build and run the slugs inside the my Docker build, but this would require running Docker inside a Docker build, which isn't possible yet
The same ones supported by slugbuilder
I tried it and it didn't work for my project for some reason. Since Flynn has already done all the hard work, I figured it would be nice to harness their projects and build off them.
Content type
Image
Digest
sha256:c68f2d7b5…
Size
229.8 MB
Last updated
almost 11 years ago
docker pull saulshanabrook/buildpack