|
|
|
@ -95,15 +95,7 @@ RUN apt-get install -y -t jessie-backports openjdk-8-jdk |
|
|
|
|
# Bazel installation |
|
|
|
|
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list |
|
|
|
|
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - |
|
|
|
|
RUN apt-get -y update |
|
|
|
|
RUN apt-get -y install bazel |
|
|
|
|
|
|
|
|
|
# Pin Bazel to 0.9.0 |
|
|
|
|
# Installing Bazel via apt-get first is required before installing 0.9.0 to |
|
|
|
|
# allow gRPC to build without errors. See https://github.com/grpc/grpc/issues/10553 |
|
|
|
|
RUN curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/0.9.0/bazel-0.9.0-installer-linux-x86_64.sh |
|
|
|
|
RUN chmod +x ./bazel-0.9.0-installer-linux-x86_64.sh |
|
|
|
|
RUN ./bazel-0.9.0-installer-linux-x86_64.sh |
|
|
|
|
RUN apt-get -y update && apt-get -y install bazel=0.13.1 && apt-get clean |
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get -y install wget xz-utils |
|
|
|
|
RUN wget http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz |
|
|
|
|