Skip to content

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

Open
Nikolai Ogorodnik (ilolm) wants to merge 3 commits into
microsoft:mainfrom
ilolm:main
Open

impr(Optimization): Optimized Dockerfiles, Reduced image size. (@Ilolm)#10490
Nikolai Ogorodnik (ilolm) wants to merge 3 commits into
microsoft:mainfrom
ilolm:main

Conversation

@ilolm

Copy link
Copy Markdown

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.
@ilolm

Copy link
Copy Markdown
Author

Hey there guy! Could you review this PR please?

@ramos342 ramos342 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prueba

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Grayson Barton gveyron18@outlook.com

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Grayson Barton gveyron18@outlook.com

@Jekyle94444

Copy link
Copy Markdown

Mskek

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.

4 participants