Commit 6dd17fad authored by Konstantin Kopper's avatar Konstantin Kopper

Simplified gradle installation

parent 7c1cd28e
......@@ -7,10 +7,10 @@ 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/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.5.1-bin.zip
RUN wget -q --output-document=gradle-bin.zip https://services.gradle.org/distributions/gradle-4.5.1-bin.zip
RUN mkdir -p /opt/gradle
RUN unzip -q -d /opt/gradle gradle-4.5.1-bin.zip
RUN rm gradle-4.5.1-bin.zip
RUN unzip -q -d /opt/gradle gradle-bin.zip
RUN rm gradle-bin.zip
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