Question

Which buildpack(s) does the App Platform use?

I’m trying to run my application locally using the same environment/setup that will be used in production. To do so, I’m using pack, which builds images using buildpacks. From what I understand, that’s what the App Platform does.

What buildpack(s) should I use locally? Does DO just use heroku/buildpacks:18 or some custom buildpacks? Are they available anywhere, so I can run them locally and maintain dev/prod parity?

For context, I’m running a rails app, though I imagine this question would be of interest to those using other languages and frameworks as well. Thanks!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey there,

Most of the buildpacks used in App Platform are based on the Cloud Native Buildpacks, many of which were open-sourced by Heroku. For this reason, it can be a good idea to look at the Heroku buildpack documentation for your coding language if your app is having issues at build time. However, a number of buildpacks used in App Platform were built in-house at DigitalOcean.

Lately, we have updated our documentation with the buildpacks we support. You could go through the same here.

Cheers, Taha Fatima