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!

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.

×
Submit an Answer
1 answer

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