You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A repository rule that pulls down a Docker base image in a manner suitable for use with the `base` attribute of `container_image`.
@@ -196,6 +196,7 @@ please use the bazel startup flag `--loading_phase_threads=1` in your bazel invo
196
196
| <aid="container_pull-name"></a>name | A unique name for this repository. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
197
197
| <aid="container_pull-architecture"></a>architecture | Which CPU architecture to pull if this image refers to a multi-platform manifest list, default 'amd64'. | String | optional | "amd64" |
198
198
| <aid="container_pull-cpu_variant"></a>cpu_variant | Which CPU variant to pull if this image refers to a multi-platform manifest list. | String | optional | "" |
199
+
| <aid="container_pull-cred_helpers"></a>cred_helpers | Labels to a list of credential helper binaries that are configured in <code>docker_client_config</code>.<br><br> More about credential helpers: https://docs.docker.com/engine/reference/commandline/login/#credential-helpers| <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
199
200
| <aid="container_pull-digest"></a>digest | The digest of the image to pull. | String | optional | "" |
200
201
| <a id="container_pull-docker_client_config"></a>docker_client_config | Specifies a Bazel label of the config.json file.<br><br> Don't use this directly. Instead, specify the docker configuration directory using a custom docker toolchain configuration. Look for the <code>client_config</code> attribute in <code>docker_toolchain_configure</code> [here](https://github.com/bazelbuild/rules_docker#setup) for details. See [here](https://github.com/bazelbuild/rules_docker#container_pull-custom-client-configuration) for an example on how to use container_pull after configuring the docker toolchain<br><br> When left unspecified (ie not set explicitly or set by the docker toolchain), docker will use the directory specified via the <code>DOCKER_CONFIG</code> environment variable.<br><br> If <code>DOCKER_CONFIG</code> isn't set, docker falls back to <code>$HOME/.docker</code>. | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
201
202
| <aid="container_pull-import_tags"></a>import_tags | Tags to be propagated to generated rules. | List of strings | optional |[]|
0 commit comments