Skip to content

Commit 6b05d04

Browse files
committed
add docker target for windows and update readme
1 parent a1af5b6 commit 6b05d04

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.bazelrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ build:debug --verbose_failures
4444
build:debug -s
4545

4646
# Docker Sandbox Mode - Note all docker sandbox configs must run from a linux x86_64 host
47-
build:docker-sandbox --experimental_docker_image=suburbandad/cross-clang-10:latest
47+
build:docker-sandbox --experimental_docker_image=suburbandad/prysm-cross:latest
4848
build:docker-sandbox --spawn_strategy=docker --strategy=Javac=docker --genrule_strategy=docker
4949
build:docker-sandbox --define=EXECUTOR=remote
5050
build:docker-sandbox --experimental_docker_verbose
@@ -100,3 +100,6 @@ build:windows_amd64 --compiler=mingw-w64
100100
build:windows_amd64_debug --config=windows_amd64
101101
build:windows_amd64_debug --config=debug
102102

103+
# windows_amd64 docker sandbox build config
104+
build:windows_amd64_docker --config=windows_amd64_debug
105+
build:windows_amd64_docker --config=docker-sandbox

tools/cross-toolchain/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are on linux_amd64 and you have docker configured, you can simply use baz
1919
#### Otherwise run the cross compiler image
2020
1. checkout prysm, `git clone https://github.com/prysmaticlabs/prysm`
2121
2. cd prysm
22-
3. `docker run -it -v $(pwd):/workdir suburbandad/cross-clang-10:latest`
22+
3. `docker run -it -v $(pwd):/workdir suburbandad/prysm-cross:latest`
2323

2424
From here you can run builds inside the linux x86_64 container image, e.g.:
2525

@@ -28,7 +28,7 @@ From here you can run builds inside the linux x86_64 container image, e.g.:
2828
| arm64 | linux | linux_arm64 | Y | `bazel build --config=linux_arm64_docker //beacon-chain` |
2929
| x86_64 | linux | linux_amd64 | Y | `bazel build --config=linux_amd64_docker //beacon-chain` |
3030
| x86_64 | osx | osx_amd64 | Y | `bazel build --config=osx_amd64_docker //beacon-chain` |
31-
| x86_64 | windows | windows_amd64 | N | `bazel build --config=windows_amd64_docker //beacon-chain` |
31+
| x86_64 | windows | windows_amd64 | y | `bazel build --config=windows_amd64_docker //beacon-chain` |
3232

3333

3434
#### Or, if you just want to run a particular target, this is handy:

0 commit comments

Comments
 (0)