Permalink
Browse files

added Bazel

  • Loading branch information...
bowlofstew committed Aug 8, 2015
1 parent 1d167b1 commit 1a5d35620d10cb5d83818f31fa98944758691c4d
Showing with 17 additions and 1 deletion.
  1. +17 −1 Dockerfile
View
@@ -3,6 +3,22 @@ MAINTAINER Stewart Henderson<henderson.geoffrey@gmail.com>
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install git
RUN apt-get -y install cmake ninja-build scons
RUN apt-get -y install g++-4.9 clang-3.4
RUN apt-get -y install gcc-4.9 g++-4.9 clang-3.4
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
RUN apt-get install unzip zip
RUN apt-get -y install zlib1g-dev
RUN \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
RUN cd / && git clone https://github.com/google/bazel.git
RUN cd /bazel && ./compile.sh
ENV PATH "$PATH:/bazel/output"

0 comments on commit 1a5d356

Please sign in to comment.