Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to a debian-slim base image #105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jraddaoui
Copy link
Contributor

The bagit-gython library requires a system based on glibc while
Alpine uses musl. Change installation of JRE as the one from the
veraPDF CLI image is also based on musl.

The `bagit-gython` library requires a system based on `glibc` while
Alpine uses `musl`. Change installation of JRE as the one from the
veraPDF CLI image is also based on `musl`.
@jraddaoui jraddaoui self-assigned this Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.48%. Comparing base (577f82f) to head (81cfdab).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   61.48%   61.48%           
=======================================
  Files          35       35           
  Lines        2376     2376           
=======================================
  Hits         1461     1461           
  Misses        797      797           
  Partials      118      118           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jraddaoui
Copy link
Contributor Author

I tried using a distroless image for consistency with Enduro, but we run veraPDF through a shell script. We could try a Java based distroless image, calling veraPDF with java -jar ... but I'm not sure if that will work with the current implementation.

Copy link
Contributor

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks @jraddaoui.

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.

2 participants