Skip to content

Commit

Permalink
Attempt to fix #17070
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Googler authored and hvadehra committed Feb 14, 2023
1 parent 15ae23e commit 8f7ff48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/en/install/docker-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/...
```
Expand All @@ -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
```
Expand All @@ -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.
Expand Down Expand Up @@ -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:/#
```

Expand Down

0 comments on commit 8f7ff48

Please sign in to comment.