We are mirroring base images to local registry in order to improve availability. Unfortunately this either requires setting up of something like a transparent proxy registry or some kind of additional steps to be done before image is available in a bazel build.
To streamline the mirroring use case, It would be very useful to support multiple image locations, mimicking the "url-urls" pattern used in http_* rules
Example:
Implementation should try to fetch images in provided order until one succeeds, failing only if all of them fails.
It should be an error if different digests are specified.
It is not clear if this should be also extended to repository and registry parameters.
We are mirroring base images to local registry in order to improve availability. Unfortunately this either requires setting up of something like a transparent proxy registry or some kind of additional steps to be done before image is available in a bazel build. To streamline the mirroring use case, It would be very useful to support multiple image locations, mimicking the "url-urls" pattern used in http_* rules Example:
Implementation should try to fetch images in provided order until one succeeds, failing only if all of them fails. It should be an error if different digests are specified. It is not clear if this should be also extended to
repository
andregistry
parameters.