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 dockerfile, reduced image size. (@Ilolm) #385

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ilolm
Copy link

@ilolm ilolm commented Oct 28, 2024

  1. Reduced layers.
  2. Enhanced readability.
  3. Reduced image size from 3.52GB to 3.41GB.

@apop5
Copy link
Contributor

apop5 commented Nov 4, 2024

The docker file is synced from .sync/containers/Ubuntu-22/Dockerfile

Changes should be made in that file, and when filesync runs, it would be filtered to this location.

@apop5
Copy link
Contributor

apop5 commented Nov 5, 2024

This looks fine to me.

The changes to Containers/Ubuntu-22 should be dropped from the PR.

After this PR is merged, a filesync (https://github.com/microsoft/mu_devops/blob/main/.github/workflows/FileSyncer.yml) will be run, and it will propagate the changes into the Containers/Ubuntu-22 file through that mechanism. When the file sync runs, it will overwrite the direct changes you are suggesting in Containers/Ubuntu-22 file.

ilolm and others added 2 commits November 5, 2024 23:06
Closes microsoft#372 

This new workflow will attempt to automatically cherry-pick marked
contributions to a development branch to its corresponding release
branch. If a merge conflict occurs, the commit is committed to a new
branch with merge markers and then a PR is created into the target
branch with those markers. The PR is labeled with
`type:release-merge-conflict` to indicate that it needs manual
resolution.

The PR (if created) is expected to fail compilation and status checks of
course due to the merge conflict markers. A human should then checkout
the PR branch, resolve the conflicts, and push the changes back to the
PR branch.

---

- To mark a PR going into the development branch so that it should be
cherry-picked to the release branch, add the `type:backport` label to
the PR.

---

Notes:

- The workflow is synced to all repos that currently have a `dev`
branch.
- Each repo that `backport-to-release-branch.yml` is synced to must have
a `CHERRY_PICK_TOKEN` defined with repo write permission.

Signed-off-by: Michael Kubacki <[email protected]>
.sync/containers/Ubuntu-22/Dockerfile Outdated Show resolved Hide resolved
.sync/containers/Ubuntu-22/Dockerfile Outdated Show resolved Hide resolved
@ilolm
Copy link
Author

ilolm commented Nov 6, 2024

@Javagedes Appreciate your notice, thanks for review <3

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