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

Publishing the slim version of the Corretto JDK 17 & 18 Docker images #51

Open
luketn opened this issue Feb 25, 2021 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@luketn
Copy link
Contributor

luketn commented Feb 25, 2021

We recently merged pull request #38 into the corretto-docker repository. This adds a 'slim' variant of the JDK with significant size savings using jlink to omit debugging symbols and docs. The term slim indicates the differentiator that at this stage there is no official JRE distribution, and this is simply a slimmed down version of the full JDK.

This was a great experience (thanks @cliveverghese!) and I was excited to start using the new images; however It appears the new image variants are not yet being published either to Dockerhub or to the AWS ECR.

Could you provide some information as to when and how these new images will be published in Dockerhub or in the AWS ECR, or perhaps in the new Amazon ECR Public registry?

I'm happy to help with further contributions to the project if needed to progress these images on to a published state. Let me know if there is anything further I can do in that regard.

The ideal outcome would be to see these slim variants of the Corretto docker image published in the official repositories managed by AWS so that it would be easy to pull a verified and trusted image as a lean base for application deployments.
e.g.
Amazon Elastic Container Registry:
docker pull public.ecr.aws/amazoncorretto/amazoncorretto:17.0.4-alpine-slim
AWS ECR:
docker pull 489478819445.dkr.ecr.us-west-2.amazonaws.com/amazoncorretto:17.0.4-alpine-slim
and
DockerHub:
docker pull amazoncorretto:17.0.4-alpine-slim

@luketn luketn added the enhancement New feature or request label Feb 25, 2021
@luketn luketn changed the title Publishing the slim version of the Corretto JDK 15 Docker images Publishing the slim version of the Corretto JDK 16 Docker images Jul 14, 2021
@dsinghal-globality
Copy link

So is there any news on publishing the -slim images?

@luketn luketn changed the title Publishing the slim version of the Corretto JDK 16 Docker images Publishing the slim version of the Corretto JDK 17 & 18 Docker images Aug 31, 2022
@rene-m-hernandez
Copy link

rene-m-hernandez commented Aug 31, 2022

May I suggest that any resolution of this issue should include slim variants of non-alpine distributions e.g.

Tags: 17-slim, 17.0.4-slim, 17.0.4-slim-al2, 17-al2-jre
Architectures: amd64, arm64v8
Directory: 17/slim/al2

Tags: 17-slim-debian, 17.0.4-slim-debian, 17-debian-jre
Architectures: amd64, arm64v8
Directory: 17/slim/debian

More generally speaking, if a Dockerfile exists in this repo, it would be great to see a corresponding entry in the official library configuration. For example, all of the non-slim debian variants are currently missing.

@elie-delorme
Copy link

Any news on that subject?

@jhuebert
Copy link

jhuebert commented Sep 9, 2024

A lack of a slim alpine image is the main reason we aren't able to use amazoncorretto as a base image for our microservices. We instead have to build a custom base image that we would rather not do and instead depend on an official base image. Is there any update on this or any alternatives that we should use instead?

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

5 participants