Commit 196d5d7f authored by Konstantin Kopper's avatar Konstantin Kopper

Updated JDK to 8u144 and Gradle to 4.1

parent bc49ee4d
......@@ -4,13 +4,13 @@ MAINTAINER Konstantin Kopper
RUN apt-get update --yes
RUN apt-get install --yes wget tar unzip
RUN wget -q --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" --output-document=oracle-jdk.tar.gz http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
RUN wget -q --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" --output-document=oracle-jdk.tar.gz http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz
RUN tar -xzf oracle-jdk.tar.gz
RUN rm oracle-jdk.tar.gz
RUN wget -q https://services.gradle.org/distributions/gradle-4.0-bin.zip
RUN wget -q https://services.gradle.org/distributions/gradle-4.1-bin.zip
RUN mkdir -p /opt/gradle
RUN unzip -q -d /opt/gradle gradle-4.0-bin.zip
RUN rm gradle-4.0-bin.zip
RUN unzip -q -d /opt/gradle gradle-4.1-bin.zip
RUN rm gradle-4.1-bin.zip
ENV JAVA_HOME "/jdk1.8.0_131"
ENV PATH "${PATH}:${JAVA_HOME}/bin:/opt/gradle/gradle-4.0/bin"
ENV JAVA_HOME "/jdk1.8.0_144"
ENV PATH "${PATH}:${JAVA_HOME}/bin:/opt/gradle/gradle-4.1/bin"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment