By Wilson29thID
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!
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.