From e367e7b5c45fb57fdc6f4cf9886fdb595a1fdf3f Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 10 Jan 2023 01:01:33 -0800 Subject: [PATCH] Attempt to fix https://github.com/bazelbuild/bazel/issues/17070 2-part issue: 1. Doc references l.gcr.io/google/bazel instead of gcr.io/bazel-public/bazel 2. Example at the bottom of the page is outdated I was able to fix the first but would like some help with the second PiperOrigin-RevId: 500919426 Change-Id: I4ed07865a4eb760df07e3e47d5e8e3fe5e9dce1c --- site/en/install/docker-container.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/en/install/docker-container.md b/site/en/install/docker-container.md index 65f3b349c552f3..7d53d0df7dab44 100644 --- a/site/en/install/docker-container.md +++ b/site/en/install/docker-container.md @@ -39,7 +39,7 @@ docker run \ -v /src/workspace:/src/workspace \ -v /tmp/build_output:/tmp/build_output \ -w /src/workspace \ - l.gcr.io/google/bazel:latest \ + gcr.io/bazel-public/bazel:latest \ --output_user_root=/tmp/build_output \ build //absl/... ``` @@ -55,7 +55,7 @@ docker run \ -v /src/workspace:/src/workspace \ -v /tmp/build_output:/tmp/build_output \ -w /src/workspace \ - l.gcr.io/google/bazel:latest \ + gcr.io/bazel-public/bazel:latest \ --output_user_root=/tmp/build_output \ build --config={asan | tsan | msan} -- //absl/... -//absl/types:variant_test ``` @@ -70,7 +70,7 @@ container, build results will be cached. Start a shell in the Bazel container: ```posix-terminal -docker run --interactive --entrypoint=/bin/bash l.gcr.io/google/bazel:latest +docker run --interactive --entrypoint=/bin/bash gcr.io/bazel-public/bazel:latest ``` Each container id is unique. In the instructions bellow, the container was 5a99103747c6. @@ -100,7 +100,7 @@ root@5a99103747c6:~/abseil-cpp# bazel build --config=--config={asan | tsan | msa If you haven't already, start an interactive shell inside the Bazel container. ```posix-terminal -docker run -it --entrypoint=/bin/bash l.gcr.io/google/bazel:latest +docker run -it --entrypoint=/bin/bash gcr.io/bazel-public/bazel:latest root@5a99103747c6:/# ```