liferoad commented on code in PR #27023:
URL: https://github.com/apache/beam/pull/27023#discussion_r1218752193
##########
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:
Do we need to expose this option?
--
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]