Steps
Try to push a container larger than /tmp allocation. The Docker images are getting bigger lately, and sometimes we do not control the /tmp allocation in some shared environment.
Problem
It runs out of disk and fails.
Note
There's a default value that's hardcoded to "/tmp/bzl_docker_cache":
|
default = "/tmp/bzl_docker_cache", |
Expectation
Use somewhere near execroot instead as the default value. In small-/tmp situation, we've already moved Bazel disk cache to somewhere under /home so following execroot should give us a better out-of-box behavior of this rule.
Steps
Try to push a container larger than
/tmpallocation. The Docker images are getting bigger lately, and sometimes we do not control the/tmpallocation in some shared environment.Problem
It runs out of disk and fails.
Note
There's a default value that's hardcoded to
"/tmp/bzl_docker_cache":rules_minidock/minidock/container_push.bzl
Line 165 in 568a09f
Expectation
Use somewhere near execroot instead as the default value. In small-
/tmpsituation, we've already moved Bazel disk cache to somewhere under/homeso following execroot should give us a better out-of-box behavior of this rule.