Skip to content

install needed packages when run/build images are different#7

Open
mtatheonly wants to merge 1 commit into
paketo-buildpacks:mainfrom
mtatheonly:runtime-image
Open

install needed packages when run/build images are different#7
mtatheonly wants to merge 1 commit into
paketo-buildpacks:mainfrom
mtatheonly:runtime-image

Conversation

@mtatheonly

@mtatheonly mtatheonly commented Jun 26, 2026

Copy link
Copy Markdown

Summary

It allows to set a list of installed packages of the run-image in order to install all needed packages for a dependency.

Use Cases

Sometimes, the build image is different than run image. When using the apt buildpack, I've got errors in the final built image when a library was present in the build image and wasn't installed into the final image, resulting in runtime errors. For example, if the build image has the libexpat1 installed and runtime hasn't it, when adding ffmpeg to Aptfile, the application has errors regarding library not found (libexpat.so).

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@mtatheonly mtatheonly requested a review from a team as a code owner June 26, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant