-
Notifications
You must be signed in to change notification settings - Fork 40
Split JDK and create a Corretto-JRE for runtime #17
Comments
Here is how the Dockerfile could look like:
|
Here is the Dockerfile which can be used to create JRE distribution
|
also please create a headless version. There is so much unnused stuff in that image. Also already coming from amazonlinux:2 ... |
@Hades32 Slimming down our Docker images is something we are looking at doing. |
@davecurrie what is the plan for jre based container? It would be great to publish (and manage the upgrades) so that people can us it. |
@zaknuces They are planned although I can't share more info at this time. |
I had been using @GopinathMR's suggestion about installing just the JRE on top of Amazon Linux 2 docker image (image
(my Dockerfile for the "jre" image trying to squash layers.) FROM amazonlinux:2
# install amazon corretto 8 JRE
RUN yum update -y && \
amazon-linux-extras enable corretto8 && \
amazon-linux-extras install -y corretto8 && \
yum clean all
|
Is there any update on availability of jre only images for corretto ? |
In addition to the JDK, used to BUILD an application, you guys should provide a JRE version for only the RUNTIME.
Users can use the image using a Multi-stage build. That way, the Runtime image should be much smaller.
The text was updated successfully, but these errors were encountered: