0

I'd like to use the Ruby buildpack by Paketo for running a Rails application. However, bundler cannot build because the header files of a library that is required by a native gem is not available in the buildpack.

Under normal circumstances (e.g. having my custom Dockerfile instead of a buildpack), I'd simply run something like apt install libwhatever-dev. However, how can this be achieved with a buildpack? Which steps need to be taken to have the library available both during build and runtime, ideally without having to fork the entire builder or pack?

Kalsan
  • 822
  • 1
  • 8
  • 19
  • 1
    The title isn't the same, but that's irrelevant. The solution shows how to add additional packages. Please give that a try. [Is it possible to customize docker image generated with Spring Native (with buildpack)](https://stackoverflow.com/questions/69447497/is-it-possible-to-customize-docker-image-generated-with-spring-native-with-buil) – Daniel Mikusa Nov 07 '22 at 18:52

0 Answers0