aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_artifact_linux_x64
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-04-29 15:40:29 -0700
committerGravatar Masood Malekghassemi <atash@google.com>2016-05-04 15:30:30 -0700
commitaf3158350ecaa86ff727af39d16a4a4599e9de3d (patch)
tree779e373a9daa81769f019ce1f180f03f0a8166aa /tools/dockerfile/grpc_artifact_linux_x64
parent58d24c259a637ccffdee09fac6bc0123f81e4fc0 (diff)
Integrate Python protoc Linux artifact builders
Diffstat (limited to 'tools/dockerfile/grpc_artifact_linux_x64')
-rw-r--r--tools/dockerfile/grpc_artifact_linux_x64/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile b/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
index d048b725c8..5be2d37061 100644
--- a/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
+++ b/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
@@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
autotools-dev \
build-essential \
bzip2 \
+ clang \
curl \
gcc \
gcc-multilib \
@@ -66,6 +67,14 @@ RUN /bin/bash -l -c "nvm install 4 && npm install -g node-pre-gyp"
##################
# Python dependencies
+# Install bazel
+RUN echo "deb http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list
+RUN apt-get update
+RUN apt-get -t jessie-backports install -y openjdk-8-jdk
+RUN git clone https://github.com/bazelbuild/bazel.git /bazel
+RUN cd /bazel && ./compile.sh
+RUN ln -s /bazel/output/bazel /bin/
+
RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \