Attempt to fix
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
@@ -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:/#
```
