better python3 installation for rbe-{debian9,ubuntu16_04} (#32)

- for rbe-debian9, we use the python3.6 from debian testing repo

- for rbe-ubuntu16_04, we use the python3.6 built from ubuntu by
appengine python image

- add setuptools to make python package install more stable

- also simplify the cleanup command by searching and deleting all
__pycache__ folders

- fix container tests problems

Tests:
- container/build.sh -p my-project -d debian8 -c test-rbe-debian8 -t test-r327695 -b my-gcs-bucket -a
- container/build.sh -p my-project -d debian9 -c test-rbe-debian9 -t test-r327695 -b my-gcs-bucket -a
- container/build.sh -p my-project -d ubuntu16_04 -c test-rbe-ubuntu16_04 -t test-r327695 -b my-gcs-bucket -a
10 files changed
tree: 5a4d331e2c5e487d5c94a8e1d0c7ee4ce731e92b
  1. .bazelci/
  2. bazelrc/
  3. configs/
  4. container/
  5. examples/
  6. platforms/
  7. rules/
  8. skylib/
  9. test/
  10. third_party/
  11. toolchains/
  12. .gitignore
  13. AUTHORS
  14. CONTRIBUTING.md
  15. CONTRIBUTORS
  16. LICENSE
  17. README.md
  18. WORKSPACE
README.md

Build status

bazel-toolchains

https://github.com/bazelbuild/bazel-toolchains is a repository where Google hosts Bazel toolchain configs. These configs are required to configure Bazel to issue commands that will execute inside a Docker container via a remote execution environment.

These toolchain configs include:

  • C/C++ CROSSTOOL file,
  • BUILD file with toolchain rules, and
  • wrapper scripts.

Release information of toolchain configs can be found at: https://releases.bazel.build/bazel-toolchains.html.

This repository also hosts the skylark rule used to generate toolchain configs.