diff --git a/linux/advanced/teamcity/server/Dockerfile b/linux/advanced/teamcity/server/Dockerfile index a11d63a9b..c4da4575c 100644 --- a/linux/advanced/teamcity/server/Dockerfile +++ b/linux/advanced/teamcity/server/Dockerfile @@ -105,18 +105,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -130,7 +130,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -138,7 +138,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -146,7 +146,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/advanced/vscode-server/android/Dockerfile b/linux/advanced/vscode-server/android/Dockerfile index 63b16e475..299e221f9 100644 --- a/linux/advanced/vscode-server/android/Dockerfile +++ b/linux/advanced/vscode-server/android/Dockerfile @@ -35,18 +35,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -60,7 +60,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -68,7 +68,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -76,7 +76,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile index efd4dc105..7c56d886b 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop index 1acb75c5c..a78bf624f 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile index cfdff15a6..3fa514b5e 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop index ab8c7f51b..621ef8641 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile index 1ee76c619..1c064f525 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop index 908425e74..8ecb42b24 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile index 1d5db72cf..6ac900306 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop index 2cc3863a6..d7e553976 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=18 ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile index 84449d5f2..22028b35a 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop index 3e6450e92..39b2b9682 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=19 ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile index b78a8d9ff..b27cd486f 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop index 6b10621fa..4eb813176 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile index 442c7f9ce..291af99c8 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop index 4ac87b819..6c212194e 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile index d0c142198..af1fe14d7 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop index 1c7974177..c9fed09bb 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile index f35becf43..b20a455ad 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/astralinux:1.7-main LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version @@ -68,7 +73,8 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # cleanup ################################################################## -RUN apt-get clean -y && \ +RUN echo "clean up" && \ + apt-get clean -y && \ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /tmp/* && \ diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop index c4fc888cc..afddd6858 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/astralinux:1.7-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile index 6453c468b..6789d11f9 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/astralinux:1.7-main LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop index fcfb69a36..37772ca9b 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/astralinux:1.7-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile index df320aaf4..ee49fd0f5 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop index ad8ec3d96..341bc927b 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/main/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/main/Dockerfile index c0be03a3c..99605552b 100644 --- a/linux/ecosystem/epicmorg/astra/1.7-alse/main/Dockerfile +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/main/Dockerfile @@ -1,6 +1,25 @@ FROM epicmorg/astralinux:1.7-slim ARG DEBIAN_FRONTEND=noninteractive +################################################################## +# ARGuments +################################################################## + +#configured by dockerfile / .ENV +ARG P4_VERSION=r23.2 +ARG P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4 + +ARG SZ_VERSION=7z2400 +ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz + +ARG LZGIT_VERSION=0.40.2 +ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz + +ARG DUMB_INIT_VERSION=1.2.5 +ARG DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 + +ARG GOSU_VER=1.17 +ARG GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 ################################################################## # update lists @@ -58,6 +77,64 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio xz-utils \ zip +################################################################## +# Install p4client +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \ + chmod +x /usr/bin/p4 + +################################################################## +# Install 7z official binary +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \ + mkdir -p /tmp/7z && \ + tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ + chmod +x /tmp/7z/7zz && \ + mv -fv /tmp/7z/7zz /usr/bin/ + +RUN echo "=============================================" && \ + echo 7zz $(7zz | head -4) && \ + echo 7z $(7z | head -4) && \ + echo "=============================================" + +################################################################## +# Install LazyGit official binary +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -O /tmp/lazygit.tar.xz ${LZGIT_DOWNLOAD_URL} && \ + mkdir -p /tmp/lazygit && \ + tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ + chmod +x /tmp/lazygit/lazygit && \ + mv -fv /tmp/lazygit/lazygit /usr/bin/ + +RUN echo "=============================================" && \ + echo lazygit $(lazygit --version) && \ + echo "=============================================" + +################################################################## +# dumb init +################################################################## +RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \ + chmod +x /usr/bin/dumb-init + +RUN echo "=============================================" && \ + echo dumb-init $(dumb-init --version) && \ + echo "=============================================" + +################################################################## +# gosu for easy step-down from root +################################################################## +RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \ + chmod +x /usr/local/bin/gosu + +RUN echo "=============================================" && \ + echo gosu $(gosu --version) && \ + echo "=============================================" + +################################################################## +# Generate ssl key +################################################################## +RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile index 821a9e01a..00f15a3f4 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile @@ -96,7 +96,8 @@ RUN apt-get update && \ libtool \ gdb \ strace - + +RUN aptitude remove '~njava' -y ################################################################## # other customisations ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile index ba93ae024..7aa52effe 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop index 2176cd180..f4480647f 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile index a9583b0f7..f9d9aae82 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop index a0063d4c6..1ea086503 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile index dcd5f53a9..b90076d75 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop index 11dfdc9da..c9aaa1b9d 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile index a7dfb8879..dfaf065cf 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop index fe3fd2d11..571fb3ddd 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=18 ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile index eb5744483..f76efe63c 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop index 29f8fc5e2..f5df178eb 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=19 ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile index af0438822..dc461ec2b 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop index 977a5427c..a59d63a7c 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile index 37b977a57..5ad440beb 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop index 8bfbe10a2..d5ecd8aab 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile index 825fef56a..60797fd9e 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop index ac9ae8569..a6bb3ed4f 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile index 5040f99cd..a4a60f8dd 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:squeeze LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version @@ -68,7 +73,8 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # cleanup ################################################################## -RUN apt-get clean -y && \ +RUN echo "clean up" && \ + apt-get clean -y && \ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /tmp/* && \ diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop index 66c71a32d..e8646adbb 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:squeeze-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile index 662cf835f..f42db1b50 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:squeeze LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop index 6c819a7fa..0bbad79e4 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop @@ -2,14 +2,19 @@ FROM epicmorg/debian:squeeze-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ - java -version +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ + java -versionn ################################################################## # Additional settings @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile index 4bd0e7df2..adb33db26 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop index 18e01b788..b54dfa47c 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile index a0f59b191..18fda3508 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile @@ -87,6 +87,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio subversion-tools \ zip +RUN aptitude remove '~njava' -y + # Global disable ssl verify due very old dists RUN git config --global http.sslVerify false @@ -123,7 +125,7 @@ RUN git config --global http.sslVerify false ################################################################## # Generate ssl key ################################################################## -RUN openssl dhparam -out /etc/ssl/dhparam.pem 512 +RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 ################################################################## # cleanup diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile index efbe7edb5..1b99a3dc1 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop index cdaae2760..422f945cd 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile index 2743c258f..0191b68db 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop index 79994281b..c3f4107fe 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile index 245dee6e8..ed8660da7 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop index f1c1a75fa..2eeb75fe8 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile index d4d91e46c..b44befe79 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop index 65cd2ad36..c1976baa2 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=18 ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile index 39ea0358a..5d69d8b87 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop index bf44ca2a2..09027f264 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=19 ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile index 69bec0d72..d51699569 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop index 2bfa27d21..37b32cb98 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile index 8d6cb0894..da9f1fdac 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop index fb580cdb7..86fd34655 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile index fa92cb207..fda7c5f8f 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop index 5a391cc70..7e9ca9849 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile index 62015fb3f..c8f174a85 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:wheezy LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version @@ -68,7 +73,8 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # cleanup ################################################################## -RUN apt-get clean -y && \ +RUN echo "clean up" && \ + apt-get clean -y && \ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /tmp/* && \ diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop index afdae26d2..7626ca799 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:wheezy-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile index 477f66868..4e383e0bf 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:wheezy LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop index 4edf52882..6eb3af9d3 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:wheezy-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile index ec8101280..8bb980035 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop index 0db5511f7..f333862cf 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile index 954ce830f..681ae2209 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile @@ -157,7 +157,7 @@ RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/do ################################################################## # Generate ssl key ################################################################## -RUN openssl dhparam -out /etc/ssl/dhparam.pem 512 +RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 ################################################################## # cleanup diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile index 20e35e5c2..c18ee14cb 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop index 585ed25e0..0cc04b10e 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile index 6be39a7d4..1d2bd08ac 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop index 6d28ff2ba..a291d3035 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile index 3c90983e3..b32d7f00d 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop index ea0263956..e59651f37 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile index c9c608988..92e772cf7 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop index ce7cdebb3..3b6c62dc5 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=18 ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile index e606138ba..19fc3df88 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop index e57d210d4..a6a70bb1e 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=19 ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile index 9ac857c90..6712929ac 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop index d714aed48..504278801 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile index 9b0f684e3..2549f4cc0 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop index c4eec667d..084a9c1ea 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile index e10a6f7fa..12854a8da 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop index 55ff185b9..20ebd540d 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile index b373e14c6..328647305 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version @@ -68,7 +73,8 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # cleanup ################################################################## -RUN apt-get clean -y && \ +RUN echo "clean up" && \ + apt-get clean -y && \ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /tmp/* && \ diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop index a4f46b18f..316efcedf 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile index a13fa730f..62d9b1983 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop index 25a2d9a1a..03c8175f2 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile index 1d780aec4..d2deffaae 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop index e79d6d638..51c81a236 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile index 139b6cfa9..f8773a2be 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile @@ -168,7 +168,7 @@ RUN curl --insecure -o /usr/bin/p4 ${P4_DOWNLOAD_URL} && \ ################################################################## # Generate ssl key ################################################################## -RUN openssl dhparam -out /etc/ssl/dhparam.pem 512 +RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 ################################################################## # cleanup diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile index 549ba2bbe..137fc6061 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop index 3a4f3b368..b246d69e3 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile index 5462d0c05..4d67d83a3 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop index 9e17314bc..5aca2cd21 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile index 9439a82c2..1991af041 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop index fbcbdaf2a..c04a02689 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile index 596c9657c..1027e7659 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop index db70db11b..06a883969 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=18 ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile index 871742a4a..5c8b9a168 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop index 45580260e..7c8fbaf0c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=19 ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile index 81c2bea0e..d0bec149c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop index e987b8cf5..01259ba96 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile index bebf5a5ca..a011dba8f 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop index 918a35ce6..42074766a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile index 763a7df0c..234042db9 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop index cf041fca0..f7308eb12 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile index 85d08ebb0..71b0d6811 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:stretch LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop index a3bc1ca82..e3f24ad62 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:stretch-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile index 87689bbc0..9bfd8ebeb 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:stretch LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop index c7d725829..33f6fe113 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:stretch-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile index 23a36792f..ce6f2eb10 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version @@ -28,18 +27,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -53,7 +52,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -61,7 +60,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -69,7 +68,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop index cd1f8926d..367153526 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile index a1de5f0a3..be38cdcb5 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop index 1a83c3077..25ed26df3 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile index 8f5f76d81..dae0c7495 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop index 7930d5c12..5eceac150 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile index 882c1b9dd..cb4b55121 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop index 1f692557e..9f8723ea2 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile index ec761cd51..c4b54b350 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop index 9631719f5..edb0b1e0d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile index 102df21c0..211ff9dec 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java19 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop index 4fe581849..817fe5e2f 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java19 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile index 55530db40..781236696 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop index 47d80ae36..d4bf9fb9a 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile index 4190f1cf8..69b991eb1 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop index dc7758fa9..bcc7f3411 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile index 63d774b33..63f2c4db9 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop index faf941836..282cd5f09 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile index e1afb9c93..58071d028 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop index f459ee5d4..09af8d29b 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile index 272815b9f..4a0485da1 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop index 47a130909..a6f1dfd0b 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile index 6d87d21f7..67bdc1a24 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop index bb6a05489..1ee29a452 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile index 0c0f0e485..900c7061e 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile @@ -7,16 +7,20 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## #configured by dockerfile / .ENV -ARG P4_VERSION -ARG P4_DOWNLOAD_URL -ARG SZ_VERSION -ARG SZ_DOWNLOAD_URL -ARG LZGIT_VERSION -ARG LZGIT_DOWNLOAD_URL -ARG DUMB_INIT_VERSION -ARG DUMB_INIT_DOWNLOAD_URL -ARG GOSU_VER -ARG GOSU_DOWNLOAD_URL +ARG P4_VERSION=r23.2 +ARG P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4 + +ARG SZ_VERSION=7z2400 +ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz + +ARG LZGIT_VERSION=0.40.2 +ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz + +ARG DUMB_INIT_VERSION=1.2.5 +ARG DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 + +ARG GOSU_VER=1.17 +ARG GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 ################################################################## # update lists diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile index b5142807e..a2e051119 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop index cd9bedd2a..3b5768afe 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile index b2314def1..c6f2b84f0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop index 606ea3289..8eefa3b75 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile index 9ee6f093c..d7594f4a5 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop index 2d00fd455..89135daad 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile index 81125b5d2..5bf2c6f73 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop index d06c57b91..20342b753 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile index 717f8db5f..c428a7c85 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java19 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop index 7b40c7d36..c0dff9a38 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java19 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile index fed94eaa0..ecc5e0a31 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop index f4648ab33..a199ab77f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile index a629cb509..898219616 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop index e5b273ffd..858a0fec1 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile index 5252b08da..272810d69 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop index aee62ea72..fec15b43f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile index 196cb9932..a5cd4adb9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop index e4bc13184..5aa259805 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile index 153a6049e..e1613608e 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop index 69081e705..7f33d1895 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile index 9127bec9b..de160da56 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop index 5db466488..2af788507 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile index 1d8f117eb..a97d0fdb9 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop index 061034e98..a4685ec53 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile index f7f056766..98bc448bf 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop index 8a2de7494..2cee5d2e1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop @@ -6,7 +6,7 @@ ARG K_JDK_MAJOR_VERSION=16 ARG K_JDK_FULL_VERSION=jdk-16.0.2 ARG K_JDK_VERSION=16.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java16 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile index 9c384dccc..a1cfd1d49 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop index af6333029..49f5d8225 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile index de0ed49e9..58a366bb7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop index e8c74bd5c..0fe13ff99 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java18 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile index 887a0632f..849b23cfc 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop index c2fbf4fbd..44de74243 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java20 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile index e2623a9db..d6469d81f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop index 5b6855f0c..22b03905c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile index 2a4f423b6..6260631d2 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop index f24f77164..c3214efb3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java21 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,8 +67,8 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} -RUN 7z x $KTC_TEMP -o${KTC_ROOT} +ADD ${KTC_LINK} /tmp +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile index c02a39b03..25de1c4e0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop index f65dd759f..0d84aff07 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=6.22.0.3 +ARG K_JDK_BUILD_VERSION=6.0.119 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java6 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-6 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile index bde6ad9f0..163f415af 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile @@ -2,13 +2,18 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop index 1f7e8be94..ffc66b29d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop @@ -2,13 +2,18 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive +ARG K_JDK_VERSION=7.56.0.11 +ARG K_JDK_BUILD_VERSION=7.0.352 +ARG K_JDK_URL=http://cdn.azul.com/zulu/bin/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz + +ENV JAVA_HOME=/opt/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64 +ENV PATH=$PATH:${JAVA_HOME}/bin + ################################################################## # installing java7 ################################################################## -RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ - echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ - apt-get update -y && \ - apt-get install -y --allow-unauthenticated zulu-7 && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/zulu${K_JDK_VERSION}-ca-jdk${K_JDK_BUILD_VERSION}-linux_x64.tar.gz --directory /opt && \ java -version ################################################################## @@ -19,18 +24,18 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_ROOT=/opt/maven #ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} #ENV MAVEN_BIN=${MAVEN_PATH}/bin -#ARG MAVEN_TEMP=/tmp/MAVEN.zip +#ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip #ENV GRADLE_VERSION=7.6.4 #ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip #ENV GRADLE_ROOT=/opt/gradle #ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} #ENV GRADLE_BIN=${GRADLE_PATH}/bin -#ARG GRADLE_TEMP=/tmp/gradle.zip +#ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip #ENV KTC_VERSION=1.9.22 #ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -#ARG KTC_TEMP=/tmp/kotlinc.zip +#ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip #ENV KTC_ROOT=/opt/kotlin #ENV KTC_PATH=${KTC_ROOT}/kotlinc #ENV KTC_BIN=${KTC_PATH}/bin @@ -44,7 +49,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad #ENV MAVEN_HOME=${MAVEN_ROOT} #ENV M2_HOME=${MAVEN_ROOT} -#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#ADD ${MAVEN_LINK} /tmp #RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} #RUN chmod +x -R ${MAVEN_BIN} #RUN mvn -v @@ -52,7 +57,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # GRADLE ################################################################## -#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#ADD ${GRADLE_LINK} /tmp #RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} #RUN chmod +x -R ${GRADLE_BIN} #RUN gradle -v @@ -60,7 +65,7 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad ################################################################## # KOTLIN ################################################################## -#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#ADD ${KTC_LINK} /tmp #RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} #RUN chmod +x -R ${KTC_BIN} #RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile index f074b89d8..42791c7da 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop index 2d72c2c5a..6388ff519 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop @@ -14,9 +14,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -27,18 +26,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -52,7 +51,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -60,7 +59,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -68,7 +67,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile b/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile index e96d417bb..93285987d 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile +++ b/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile @@ -16,9 +16,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${A ################################################################## # installing java11 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -29,18 +28,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -54,7 +53,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -62,7 +61,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -70,7 +69,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile b/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile index 7e94ad6f2..74844ac46 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile +++ b/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile @@ -16,9 +16,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${A ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -29,18 +28,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -54,7 +53,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -62,7 +61,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -70,7 +69,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile b/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile index b19f56180..0c829218f 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile +++ b/linux/ecosystem/gitlab/runner/android-sdk/jdk8/Dockerfile @@ -16,9 +16,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${A ################################################################## # installing java8 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## @@ -29,18 +28,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -54,7 +53,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -62,7 +61,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -70,7 +69,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/teamcity/agent/latest/jdk11/Dockerfile b/linux/ecosystem/teamcity/agent/latest/jdk11/Dockerfile index 8553a1f49..b057db726 100644 --- a/linux/ecosystem/teamcity/agent/latest/jdk11/Dockerfile +++ b/linux/ecosystem/teamcity/agent/latest/jdk11/Dockerfile @@ -84,18 +84,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -109,7 +109,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -117,7 +117,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -125,7 +125,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/teamcity/agent/latest/jdk17/Dockerfile b/linux/ecosystem/teamcity/agent/latest/jdk17/Dockerfile index 2374bc0f0..018edbd5a 100644 --- a/linux/ecosystem/teamcity/agent/latest/jdk17/Dockerfile +++ b/linux/ecosystem/teamcity/agent/latest/jdk17/Dockerfile @@ -84,18 +84,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -109,7 +109,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -117,7 +117,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -125,7 +125,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/teamcity/agent/latest/jdk21/Dockerfile b/linux/ecosystem/teamcity/agent/latest/jdk21/Dockerfile index 2374bc0f0..018edbd5a 100644 --- a/linux/ecosystem/teamcity/agent/latest/jdk21/Dockerfile +++ b/linux/ecosystem/teamcity/agent/latest/jdk21/Dockerfile @@ -84,18 +84,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -109,7 +109,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -117,7 +117,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -125,7 +125,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/teamcity/agent/latest/jdk8/Dockerfile b/linux/ecosystem/teamcity/agent/latest/jdk8/Dockerfile index fa6df1f8b..a7a9e10bb 100644 --- a/linux/ecosystem/teamcity/agent/latest/jdk8/Dockerfile +++ b/linux/ecosystem/teamcity/agent/latest/jdk8/Dockerfile @@ -84,18 +84,18 @@ ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/ ENV MAVEN_ROOT=/opt/maven ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} ENV MAVEN_BIN=${MAVEN_PATH}/bin -ARG MAVEN_TEMP=/tmp/MAVEN.zip +ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip ENV GRADLE_VERSION=8.6 ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip ENV GRADLE_ROOT=/opt/gradle ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} ENV GRADLE_BIN=${GRADLE_PATH}/bin -ARG GRADLE_TEMP=/tmp/gradle.zip +ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip ENV KTC_VERSION=1.9.22 ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip -ARG KTC_TEMP=/tmp/kotlinc.zip +ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip ENV KTC_ROOT=/opt/kotlin ENV KTC_PATH=${KTC_ROOT}/kotlinc ENV KTC_BIN=${KTC_PATH}/bin @@ -109,7 +109,7 @@ ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} ENV MAVEN_HOME=${MAVEN_ROOT} ENV M2_HOME=${MAVEN_ROOT} -RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +ADD ${MAVEN_LINK} /tmp RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} RUN chmod +x -R ${MAVEN_BIN} RUN mvn -v @@ -117,7 +117,7 @@ RUN mvn -v ################################################################## # GRADLE ################################################################## -RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +ADD ${GRADLE_LINK} /tmp RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} RUN chmod +x -R ${GRADLE_BIN} RUN gradle -v @@ -125,7 +125,7 @@ RUN gradle -v ################################################################## # KOTLIN ################################################################## -RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +ADD ${KTC_LINK} /tmp RUN 7zz x $KTC_TEMP -o${KTC_ROOT} RUN chmod +x -R ${KTC_BIN} RUN kotlin -version diff --git a/linux/ecosystem/teamcity/agent/php7.2/Dockerfile b/linux/ecosystem/teamcity/agent/php7.2/Dockerfile index c7b21ede3..d66d2b1e5 100644 --- a/linux/ecosystem/teamcity/agent/php7.2/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php7.2/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php7.3/Dockerfile b/linux/ecosystem/teamcity/agent/php7.3/Dockerfile index 782a7e467..5d2508747 100644 --- a/linux/ecosystem/teamcity/agent/php7.3/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php7.3/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php7.4/Dockerfile b/linux/ecosystem/teamcity/agent/php7.4/Dockerfile index 1e70e3571..7a727359a 100644 --- a/linux/ecosystem/teamcity/agent/php7.4/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php7.4/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php8.0/Dockerfile b/linux/ecosystem/teamcity/agent/php8.0/Dockerfile index bf5472e36..dfd4c45a5 100644 --- a/linux/ecosystem/teamcity/agent/php8.0/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php8.0/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php8.1/Dockerfile b/linux/ecosystem/teamcity/agent/php8.1/Dockerfile index ee103a733..ed33c2961 100644 --- a/linux/ecosystem/teamcity/agent/php8.1/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php8.1/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php8.2/Dockerfile b/linux/ecosystem/teamcity/agent/php8.2/Dockerfile index f0af76496..3d8d40cd8 100644 --- a/linux/ecosystem/teamcity/agent/php8.2/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php8.2/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ################################################################## diff --git a/linux/ecosystem/teamcity/agent/php8.3/Dockerfile b/linux/ecosystem/teamcity/agent/php8.3/Dockerfile index 283a8f9bf..be9edec1b 100644 --- a/linux/ecosystem/teamcity/agent/php8.3/Dockerfile +++ b/linux/ecosystem/teamcity/agent/php8.3/Dockerfile @@ -13,9 +13,8 @@ ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## # installing java17 ################################################################## -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --directory /opt && \ +ADD ${K_JDK_URL} /tmp +RUN tar -xvzf /tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz --directory /opt && \ java -version ##################################################################