1
Fork 0

update hermetic container instructions

This commit is contained in:
Motiejus Jakštys 2021-08-06 14:43:50 +03:00
parent 907f56a155
commit dda9d4cc0d
1 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ bazel-bin/test/gognu_/gognu: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DY
## Transient docker environment ## Transient docker environment
``` ```
$ docker run -ti --rm -v $(pwd):/x -w /x debian:buster-slim $ docker run -e CC=/usr/bin/false -ti --rm -v $(pwd):/x -w /x debian:buster-slim
# apt update && apt install curl -y && curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/bazelisk-linux-amd64 > /usr/local/bin/bazel && chmod +x /usr/local/bin/bazel # apt update && apt install wget git -y
# export CC=/usr/bin/false # . .envrc
``` ```
And run the `bazel build` commands above. Take a look at `.build.yml` and see And run the `bazel build` commands above. Take a look at `.build.yml` and see