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

Missing JRE builds for 11.x and 15.x #41

Open
nikoncode opened this issue Oct 28, 2020 · 10 comments
Open

Missing JRE builds for 11.x and 15.x #41

nikoncode opened this issue Oct 28, 2020 · 10 comments
Labels
enhancement New feature or request

Comments

@nikoncode
Copy link

Guys, I am not able to find JRE images for 11.x and 15.x.

Does it related to end-user dependent jlink minification or what?

Do you have any plans to maintain generic JRE image?

Thanks.

@nikoncode nikoncode added the enhancement New feature or request label Oct 28, 2020
@nikoncode nikoncode changed the title Missing JRE builds for 11.x Missing JRE builds for 11.x and 15.x Oct 28, 2020
@skuby2
Copy link

skuby2 commented Nov 18, 2020

I'm interested in knowing whether there are plans to maintain JRE images for these as well. Particularly, for the alpine variants. Does anyone know?

@EugenDueck
Copy link

EugenDueck commented Nov 19, 2020

We too would like to know what happened to amazoncorretto:11-alpine-jre and what the future plan is - any references will be appreciated!

The jre tags have been deleted from the README.md on September 15. However the Dockerfile for JRE 11 alpine is still there.

@gabrieldobrescu1892
Copy link

Hello!

Any UPDATE on this?

@Constantin07
Copy link

It's almost 5 months since this is opened and no reaction at all.
Hi @cliveverghese, any idea/explanation why alpine JRE for 11 has been deleted ?

@luketn
Copy link
Contributor

luketn commented Feb 25, 2021

I can't speak for JDK 11 but for JDK 15 we made a great improvement to the Corretto Docker repository recently with the new 'slim' variant of the JDK Dockerfiles:
https://github.com/corretto/corretto-docker/tree/master/15/slim

I've just added issue #51 to promote these slim builds being published.

It should be pretty easy to create a JDK 11 version too.

They are not exactly JRE's in the sense that whilst cut down they are still fully functional JDKs. I think if you wanted to build a real JRE version of Corretto that would have to be a concern of the core Corretto team rather than something you could do in the docker image. The slim dockerfile just uses jlink to remove documentation, debug and header files. Other than that the whole JDK is there. Maybe it's splitting hairs on the name, but if you look at the contents of the original JRE packages they are quite different.
i.e.

jlink --add-modules "$(java --list-modules | sed -e 's/@[0-9].*$/,/' | tr -d \\n)" --no-man-pages --no-header-files --strip-debug --output /opt/corretto-jdk-slim

Even though it's not a JRE, just a slim JDK, the size saved is still significant:

Uncompressed:
Alpine Linux: 175 MB (183 MB smaller)
Amazon Linux 2: 357 MB (113 MB smaller)

Compressed:
Alpine Linux: 58 MB (140 MB smaller)
Amazon Linux 2: 123 MB (83 MB smaller)

If we can get these published I think it will wind up saving a huge amount of data transfer and result in great increases in startup performance too.

@dankirkd
Copy link

dankirkd commented Mar 4, 2021

Same question as everyone else has. @cliveverghese Is there a reason why the 11-alpine-jre image is not available?

Anyone know what size it was? 11-alpine is 323MB.

@jbaris
Copy link

jbaris commented Aug 19, 2021

+1 why 11-alpine-jre image is not available at dockerhub?

@debu99
Copy link

debu99 commented Oct 8, 2021

no 15 dockerfile?

@lutkerd
Copy link
Contributor

lutkerd commented Oct 8, 2021

no 15 dockerfile?

Corretto-15 is no longer supported, please use Corretto-17 to get the latest features and improvements.

@chrizel
Copy link

chrizel commented Jan 10, 2022

Related: corretto/corretto-11#176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests