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

Java runtime dependences and impacts #45812

Open
jfouret opened this issue Feb 15, 2024 · 0 comments
Open

Java runtime dependences and impacts #45812

jfouret opened this issue Feb 15, 2024 · 0 comments

Comments

@jfouret
Copy link

jfouret commented Feb 15, 2024

Hi,

A lot of recipes defined here (macse, factqc for examples) needing only a java runtime environment depends on openjdk conda package that provides the whole java dev kit.

This dependencies is about 400 MB while a headless jre should be about 60 MB at most.

This can represent a unnecessary burden on storage space if multiple environment are provisioned on the same machine and it implies also avoidable data transfers.

In addition, when docker images are built in the biocontainers project the resulting container images are unnecessarily too big in size (cf BioContainers/containers#558).

Of note, there are no properly maintained jre package on conda, it seems. One solution would be to create a recipe for a java jre on bioconda and use it as a dependency in place of openjdk package after. There is a project providing a jre for multple architectures: https://adoptium.net/temurin/releases/.

Of note, I am not myself a regular user of bioconda direclty however I came onto this problematic while using biocontainer images.

Bests,

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

No branches or pull requests

1 participant