Commit 7c1cd28e authored by Konstantin Kopper's avatar Konstantin Kopper

Upgraded to JDK 8u161 and Gradle 4.5.1

parent 8ed72aeb
......@@ -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/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-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/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-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.3-bin.zip
RUN wget -q https://services.gradle.org/distributions/gradle-4.5.1-bin.zip
RUN mkdir -p /opt/gradle
RUN unzip -q -d /opt/gradle gradle-4.3-bin.zip
RUN rm gradle-4.3-bin.zip
RUN unzip -q -d /opt/gradle gradle-4.5.1-bin.zip
RUN rm gradle-4.5.1-bin.zip
ENV JAVA_HOME "/jdk1.8.0_144"
ENV PATH "${PATH}:${JAVA_HOME}/bin:/opt/gradle/gradle-4.3/bin"
ENV JAVA_HOME "/jdk1.8.0_161"
ENV PATH "${PATH}:${JAVA_HOME}/bin:/opt/gradle/gradle-4.5.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