feat: don't carry cargo-audit build artefacts into ic-build#10138
Open
feat: don't carry cargo-audit build artefacts into ic-build#10138
Conversation
This wipes the cargo-audit build files from the Dockerfile to avoid them ending up in the final image. This saves about 211MB (4.91GB -> 4.7GB, - 4%). Might be cleaner to move the cargo-audit build to a different build stage but this is much simpler.
…a40038a4710644124994ec1e4fe6e ic-build: sha256:7d812574cc8f8cf2841519340de0f218d71007996fbf28dfff286f3c84977f43 ic-dev: sha256:1552bd2d0bf6c7244c83432abee24ad8401a45ca63d291987c9fb042ca187d58
Contributor
|
Run URL: https://github.com/dfinity/ic/actions/runs/25550833797 New container images with tag: |
basvandijk
approved these changes
May 8, 2026
gregorydemay
approved these changes
May 8, 2026
venkkatesh-sekar
approved these changes
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This wipes the cargo-audit build files from the Dockerfile to avoid them ending up in the final image. This saves about 211MB (4.91GB -> 4.7GB, - 4%).
Might be cleaner to move the cargo-audit build to a different build stage but this is much simpler.