-
Notifications
You must be signed in to change notification settings - Fork 67
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
Comments
So is there any news on publishing the -slim images? |
May I suggest that any resolution of this issue should include slim variants of non-alpine distributions e.g.
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. |
Any news on that subject? |
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? |
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
The text was updated successfully, but these errors were encountered: