davidcavazos commented on code in PR #27023:
URL: https://github.com/apache/beam/pull/27023#discussion_r1219832263
##########
sdks/python/apache_beam/runners/portability/sdk_container_builder.py:
##########
@@ -252,7 +252,13 @@ def _invoke_docker_build_and_push(self,
container_image_name):
build.steps = []
step = cloudbuild.BuildStep()
step.name = 'gcr.io/kaniko-project/executor:latest'
- step.args = ['--destination=' + container_image_name, '--cache=true']
+ # Disable compression caching to allow for large images to be cached.
+ # See: https://github.com/GoogleContainerTools/kaniko/issues/1669
+ step.args = [
+ '--destination=' + container_image_name,
+ '--cache=true',
+ '--compressed-caching=false',
Review Comment:
I don't think it's worth it either. Smaller images are small enough this
shouldn't be an issue, but larger images are blocked by it. More configuration
options confuse people in my opinion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]