Open jfouret opened 8 months ago
I think there is a bit too much hardcoded dependence on openjdk
for that to work well.
I'd suggest providing a *_jre
variant instead so that conda install ... openjdk=*=*_jre
does the right thing.
Yes,it is hoped that two variant options, JDK and JRE, can be provided for development compilation or just running Jar usage scenarios.
Comment:
Hi,
The whole temurin build for jdk is about 400 MB. The jre only version is about 50-60MB.
A lot of recipes use this as dependency just to run an already built jar file which ends with a lot of unnecessary data transfer and storage. This also affects a lot of container images widely used.
Would it be possible to setup this recipe so that, when there is "-jre" at the end of the version, we use the jre only url that is also available as release via the github repo used here (https://github.com/adoptium/temurin21-binaries/releases).
If you agree with that with but lack time I can try an make a PR.
Thanks,