|
|
|
@ -31,8 +31,10 @@ |
|
|
|
|
|
|
|
|
|
FROM debian:jessie |
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install debian-keyring && apt-key update |
|
|
|
|
|
|
|
|
|
# Install Git and basic packages. |
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
|
|
|
RUN apt-get update && apt-key update && apt-get install -y \ |
|
|
|
|
autoconf \ |
|
|
|
|
autotools-dev \ |
|
|
|
|
build-essential \ |
|
|
|
@ -67,14 +69,6 @@ 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 \ |
|
|
|
|