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

Reduce image size by adding "yum clean all" #23

Closed
sujaypillai opened this issue Jul 23, 2018 · 2 comments
Closed

Reduce image size by adding "yum clean all" #23

sujaypillai opened this issue Jul 23, 2018 · 2 comments
Assignees

Comments

@sujaypillai
Copy link
Contributor

Noticed that just adding "yum clean all" to existing "yum -y update"

RUN yum -y update \

RUN yum -y update
nss-3.36.0-5.el7_5
bind-license-9.9.4-61.el7 \
curl-7.29.0-46.el7
systemd-219-57.el7
glibc-2.17-222.el7
openssl-libs-1.0.2k-12.el7
krb5-libs-1.15.1-19.el7
libgcc-4.8.5-28.el7_5.1
libstdc++-4.8.5-28.el7_5.1
procps-ng-3.3.10-17.el7_5.2 && yum clean all

helps in reducing image size from 512Mb to 461Mb for JRE 10.

@jottley
Copy link
Member

jottley commented Dec 17, 2018

@melahn This has been addressed. Would you like to close this issue?

@melahn
Copy link

melahn commented Dec 19, 2018

@jottley Looks good. Thanks for raising the issue @sujaypillai

@melahn melahn closed this as completed Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants