[Experimental] Use zstd compression in Docker builds#39409
Conversation
|
@gemini-code-assist review |
There was a problem hiding this comment.
Code Review
This pull request introduces support for Docker image compression (defaulting to 'zstd') in the BeamDockerPlugin Gradle plugin, configuring the --output build arguments based on whether the image is being pushed or loaded. A critical issue was identified where the type=docker exporter (used when loading images locally) does not support compression parameters, which will cause local builds to fail. It is recommended to fall back to the standard --load option when ext.load is true.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Assigning reviewers: R: @liferoad for label build. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
R: @damccorm |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment |
Swaps out the standard gzip compression in Docker container builds for zstd, reducing container sizes when compressed and improving decompression speeds. Allows for specifying other compression libraries as a flag.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.