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

impr(Optimization): Optimized Dockerfiles, Reduced image size. (@Ilolm) #10490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ilolm
Copy link

@ilolm ilolm commented Nov 20, 2024

Changes Summarization:

  • Reduced layers amount by combining RUN statements.
  • Added dnf check-update to update repositories before install software.
  • Added dnf clean all to clean all cache after install software.

All changes above reduced image sizes in Dockerfiles:

  • fedora: From 315MB to 234MB
  • fedora+: From 373MB to 292MB

1.Reduced layers.
2.Reduced size by clearing the cache and combining RUN layers.
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

Successfully merging this pull request may close these issues.

1 participant