aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/install-compile-source.md
diff options
context:
space:
mode:
authorGravatar hlopko <hlopko@google.com>2017-08-08 12:32:18 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-08-08 13:03:39 +0200
commit3cb136d5451e9d8af58f9a99990cad0592df101a (patch)
tree6e29aedbd11541bd8d0dde4a184ebc6f6844f2ac /site/docs/install-compile-source.md
parent8adcf839c5c42defaa2fabedfb0208e4ce97ac95 (diff)
Add python to bazel's dockerfiles
Since https://github.com/bazelbuild/bazel/commit/4c55898e71d30b32090bef31b43e408d942a24f6 bazel requires python to run create_embedded_tools. This cl adds it to the affected Dockerfiles. Not to the debian one, since debian has 'python' binary there by default. While add it, sort the packages logically. RELNOTES: None. PiperOrigin-RevId: 164574914
Diffstat (limited to 'site/docs/install-compile-source.md')
-rw-r--r--site/docs/install-compile-source.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/docs/install-compile-source.md b/site/docs/install-compile-source.md
index 327d18ca44..5ff5f7f4ff 100644
--- a/site/docs/install-compile-source.md
+++ b/site/docs/install-compile-source.md
@@ -7,9 +7,10 @@ title: Compile Bazel from Source
## <a name="unix"></a> On Linux or macOS
-1. Ensure that you have OpenJDK 8 installed on your system.
+1. Ensure that you have OpenJDK 8 and python installed on your system.
For a system based on debian packages (e.g. Debian, Ubuntu), install
- OpenJDK 8 by running the command `sudo apt-get install openjdk-8-jdk`.
+ OpenJDK 8 and python by running the command `sudo apt-get install
+ openjdk-8-jdk python`.
2. The standard way of compiling a release version of Bazel from source is to
use a distribution archive. Download `bazel-<VERSION>-dist.zip` from the