Commit 1a6d5fb7 authored by Konstantin Kopper's avatar Konstantin Kopper

Upgraded JDK to 10.0.1

parent 23581d36
......@@ -4,7 +4,7 @@ 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/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-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/10.0.1+10/fb4372174a714e6b8c52526dc134031e/jdk-10.0.1_linux-x64_bin.tar.gz
RUN tar -xzf oracle-jdk.tar.gz
RUN rm oracle-jdk.tar.gz
RUN wget -q --output-document=gradle-bin.zip https://services.gradle.org/distributions/gradle-4.7-bin.zip
......@@ -12,5 +12,5 @@ RUN mkdir -p /opt/gradle
RUN unzip -q -d /opt/gradle gradle-bin.zip
RUN rm gradle-bin.zip
ENV JAVA_HOME "/jdk1.8.0_171"
ENV JAVA_HOME "/jdk10.0.1"
ENV PATH "${PATH}:${JAVA_HOME}/bin:/opt/gradle/gradle-4.7/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