|
|
|
@ -27,7 +27,7 @@ |
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
|
|
|
|
|
FROM debian:jessie |
|
|
|
|
FROM ubuntu:15.10 |
|
|
|
|
|
|
|
|
|
# Install Git and basic packages. |
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
|
|
@ -77,9 +77,8 @@ RUN pip install simplejson mako |
|
|
|
|
|
|
|
|
|
#====================================== |
|
|
|
|
# More sanity test dependencies (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 apt-get install -y openjdk-8-jdk |
|
|
|
|
# TOOD(jtattermusch): pin the bazel version |
|
|
|
|
RUN git clone https://github.com/bazelbuild/bazel.git /bazel |
|
|
|
|
RUN cd /bazel && ./compile.sh |
|
|
|
|
RUN ln -s /bazel/output/bazel /bin/ |
|
|
|
@ -88,7 +87,6 @@ RUN ln -s /bazel/output/bazel /bin/ |
|
|
|
|
# Docker "inception" |
|
|
|
|
# Note this is quite the ugly hack. |
|
|
|
|
# This makes sure that the docker binary we inject has its dependencies. |
|
|
|
|
RUN apt-get install libsystemd-journal0 |
|
|
|
|
RUN curl https://get.docker.com/ | sh |
|
|
|
|
RUN apt-get remove --purge -y docker-engine |
|
|
|
|
|
|
|
|
|