CircleCI-Public / cimg-openjdk

The CircleCI OpenJDK (Java) Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/openjdk
MIT License
18 stars 25 forks source link

Add jre versions #84

Closed fpopic closed 3 years ago

fpopic commented 3 years ago

e.g. adoptopenjdk:8-jre https://github.com/AdoptOpenJDK/openjdk-docker/tree/master/8/jre

FelicianoTech commented 3 years ago

Hi, what's the request here? All of our images includes the JDK, which itself includes the JRE.

fpopic commented 3 years ago

to run ci/runtime only jre is needed which reduces the size and time, and would be nice to have the equivalent image of jre only as when running in the runtime

FelicianoTech commented 3 years ago

Everything in the image is already installed by the time you use it. The size difference would only make spin up time longer by a second or so. With the way our platform caches images on hosts, it'll actually be faster in the long run to have a single image for this.

If you need the JRE, I would just use one of the current OpenJDK images that we have for the version that you need. If you really just want the JRE by itself for some reason, you can also create your own Docker image, based off of the CircleCI Base image (cimg/base) and install the JRE there. Then you can use a smaller image.

At this time we will not be creating a JRE image. If you disagree with this decision, you can always create a new request on CircleCI Ideas for JRE only images. If it gets enough votes, we can reconsider this decision.