Add git to CI image

This commit is contained in:
Stephane Nicoll
2019-01-30 13:51:03 +01:00
parent 6650dbad11
commit 3878597626

View File

@@ -3,7 +3,7 @@ FROM ubuntu:bionic-20181018
ENV JAVA_HOME /opt/openjdk ENV JAVA_HOME /opt/openjdk
ENV PATH $JAVA_HOME/bin:$PATH ENV PATH $JAVA_HOME/bin:$PATH
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y curl apt-get install -y curl git
RUN mkdir -p /opt/openjdk && \ RUN mkdir -p /opt/openjdk && \
cd /opt/openjdk && \ cd /opt/openjdk && \
curl https://java-buildpack.cloudfoundry.org/openjdk/bionic/x86_64/openjdk-1.8.0_192.tar.gz | tar xz curl https://java-buildpack.cloudfoundry.org/openjdk/bionic/x86_64/openjdk-1.8.0_192.tar.gz | tar xz