tree: 309a79467d810799f6717a492dac9e1edae9220d [path history] [tgz]
  1. debian8-clang-fully-loaded/
  2. rules/
  3. README.md
container/README.md

Toolchain Containers

This folder contains artifacts for building a docker container which includes all necessary language toolchains (C++, Java, Python, Go and libraries). This container is the recommended toolchain container for Remote caching and execution with Bazel.

Before you begin

  1. Download and install the Google Cloud SDK, which includes the gcloud command-line tool.

  2. Create a new Google Cloud Platform project from the Cloud Console or use an existing one.

  3. Initialize the Cloud SDK.

    gcloud init
    

Usage

You will need a valid project ID to build the toolchain-container.

You can build a toolchain-container with debian8 as the base container by running:

container/debian8-clang-fully-loaded/build.sh -p your-project-id -c debian8-clang-fully-loaded -t latest

Congratulations! Your docker container is now available in Container Registry

gcr.io/your-project-id/debian8-clang-fully-loaded:latest

You can pull the built container to local

gcloud docker -- pull gcr.io/your-project-id/debian8-clang-fully-loaded:latest