Upgrade CI image and add missing python dependency

This commit is contained in:
Brian Clozel 2020-11-02 16:16:44 +01:00
parent 0b49dc78c1
commit cc5d907189
1 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
FROM ubuntu:focal-20200925 FROM ubuntu:focal-20201008
RUN apt-get update RUN apt-get update
RUN apt-get install --no-install-recommends -y ca-certificates net-tools git curl jq RUN apt-get install --no-install-recommends -y ca-certificates net-tools git curl jq python build-essential
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME /opt/openjdk ENV JAVA_HOME /opt/openjdk
ENV PATH $JAVA_HOME/bin:$PATH ENV PATH $JAVA_HOME/bin:$PATH
RUN mkdir -p /opt/openjdk && \ RUN mkdir -p /opt/openjdk && \
cd /opt/openjdk && \ cd /opt/openjdk && \
curl -L https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u265-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u265b01.tar.gz | tar xz --strip-components=2 curl -L https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u272-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u272b10.tar.gz | tar xz --strip-components=2
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.3/concourse-java.sh /opt/ ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.3/concourse-java.sh /opt/