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

Add support for forced compression in image publish+export #5142

Merged
merged 2 commits into from May 17, 2023

Conversation

sipsma
Copy link
Contributor

@sipsma sipsma commented May 16, 2023

Buildkit will by default use whatever compression is already cached or fallback to creating a new compressed layer with gzip, but sometimes it's important to ensure every layer in an image has a certain compression type for compatibility reasons. This enables published+exported images to be forced to have a given compression for all their layers.

Signed-off-by: Erik Sipsma <erik@dagger.io>
Signed-off-by: Erik Sipsma <erik@dagger.io>
@sipsma sipsma requested review from vito and aluzzardi May 16, 2023 23:02
Copy link

@alafanechere alafanechere left a comment

Choose a reason for hiding this comment

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

Thank you, I think I actually understand what's happening there 😄

@sipsma sipsma merged commit 4afd4a5 into dagger:main May 17, 2023
16 checks passed
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.

None yet

3 participants