| 1 |
LINUX_VERSION=v3 |
| 2 |
|
| 3 |
build_linux_container: |
| 4 |
docker build -t gcr.io/skia-public/rbe_linux:${LINUX_VERSION} ./gce_linux_container/ |
| 5 |
|
| 6 |
push_linux_container: build_linux_container |
| 7 |
docker push gcr.io/skia-public/rbe_linux:${LINUX_VERSION} |
| 8 |
|
| 9 |
shell_into_linux_container: |
| 10 |
docker run -it gcr.io/skia-public/rbe_linux:${LINUX_VERSION} /bin/bash |
| 11 |
|
| 12 |
generate_linux_config: |
| 13 |
# If you do not have the rbe_configs_gen executable, see |
| 14 |
# https://github.com/bazelbuild/bazel-toolchains/releases/tag/v5.1.2 |
| 15 |
rbe_configs_gen \ |
| 16 |
--bazel_version=5.3.2 \ |
| 17 |
--toolchain_container=gcr.io/skia-public/rbe_linux@sha256:82e8a4c7d06c8f47bbc08ee899c4c03069af0f7f4d8c0d958a50a23d814405e6 \ |
| 18 |
--output_src_root=../.. \ |
| 19 |
--output_config_path=bazel/rbe/gce_linux \ |
| 20 |
--exec_os=linux \ |
| 21 |
--target_os=linux |