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

why are these openjdk docker images so big? #340

Closed
f1-outsourcing opened this issue Jul 5, 2019 · 4 comments
Closed

why are these openjdk docker images so big? #340

f1-outsourcing opened this issue Jul 5, 2019 · 4 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@f1-outsourcing
Copy link

[@test2 ]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
openjdk             8                   b84359d0cbce        3 weeks ago         488MB
openjdk             11                  f06fdc42d01a        3 weeks ago         604MB
@wglambert
Copy link

We also have slim variants
Looks like the section in the docs was removed in a pr about the oraclelinux variant for 12+ docker-library/docs#1467

$ docker images | grep openjdk
openjdk        8-slim                        4de02be2e9ab        3 weeks ago         269MB
openjdk        8                             b84359d0cbce        3 weeks ago         488MB
openjdk        11-slim                       b3e6b5ac389f        3 weeks ago         384MB
openjdk        11                            f06fdc42d01a        3 weeks ago         604MB

@EricLemieux
Copy link

Slim refers to Debian slim, which isn't available for all versions of java, ie 12 and 13 don't have a Debian variant (#302 for more details).

@tianon
Copy link
Member

tianon commented Jul 8, 2019

In this instance, slim means "not FROM buildpack-deps" and just happens to also be from the slim Debian variants to make the images even somewhat smaller.

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Jul 8, 2019
@f1-outsourcing
Copy link
Author

Thanks everyone

[@test2 image-openfire-4.3.2]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
openfire            4.3.2               91a5380d9e62        6 minutes ago       353MB
openfire            4.4.0               463460082ed0        10 minutes ago      491MB
openjdk             8-slim              4de02be2e9ab        4 weeks ago         269MB
openjdk             11-slim             b3e6b5ac389f        4 weeks ago         384MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

4 participants