Coder Social home page Coder Social logo

Comments (10)

EugenDueck avatar EugenDueck commented on August 23, 2024 3

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.

from corretto-docker.

gabrieldobrescu1892 avatar gabrieldobrescu1892 commented on August 23, 2024 2

Hello!

Any UPDATE on this?

from corretto-docker.

skuby2 avatar skuby2 commented on August 23, 2024 1

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?

from corretto-docker.

Constantin07 avatar Constantin07 commented on August 23, 2024

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 ?

from corretto-docker.

luketn avatar luketn commented on August 23, 2024

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.

from corretto-docker.

dankirkd avatar dankirkd commented on August 23, 2024

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.

from corretto-docker.

jbaris avatar jbaris commented on August 23, 2024

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

from corretto-docker.

debu99 avatar debu99 commented on August 23, 2024

no 15 dockerfile?

from corretto-docker.

lutkerd avatar lutkerd commented on August 23, 2024

no 15 dockerfile?

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

from corretto-docker.

chrizel avatar chrizel commented on August 23, 2024

Related: corretto/corretto-11#176

from corretto-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.