mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 22:57:55 +03:00
java fixes temp
This commit is contained in:
parent
f4d65e75c3
commit
f4e18ff522
17
Makefile
17
Makefile
@ -1146,34 +1146,35 @@ bundle-p4:
|
||||
make ecosystem-perforce-proxy-images
|
||||
|
||||
|
||||
bundle-debug-base:
|
||||
bundle-debug-base6:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy
|
||||
bundle-debug-base7:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/develop && pwd && make build && make deploy
|
||||
bundle-debug-base8:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/develop && pwd && make build && make deploy
|
||||
bundle-debug-base9:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/develop && pwd && make build && make deploy
|
||||
bundle-debug-base10:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/develop && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/develop && pwd && make build && make deploy
|
||||
|
||||
|
||||
bundle-cve:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/develop && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/slim && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/main && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/develop && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/develop && pwd && make build && make deploy
|
||||
|
||||
bundle-cve:
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/develop && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8 && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11 && pwd && make build && make deploy
|
||||
cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17 && pwd && make build && make deploy
|
||||
|
@ -5,68 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-11-jdk temurin-11-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,68 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-11-jdk temurin-11-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \
|
||||
ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,68 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-17-jdk temurin-17-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,68 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-17-jdk temurin-17-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,67 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,68 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bulleye temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile
Normal file
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile
Normal file
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java19
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-19-jdk temurin-19-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie-develop
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java19
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-19-jdk temurin-19-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -0,0 +1,11 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/debian:jessie-jdk19"
|
||||
build:
|
||||
context: .
|
||||
app-develop:
|
||||
image: "epicmorg/debian:jessie-develop-jdk19"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile.develop
|
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile
Normal file
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile
Normal file
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-20-jdk temurin-20-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie-develop
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-20-jdk temurin-20-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -0,0 +1,11 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/debian:jessie-jdk20"
|
||||
build:
|
||||
context: .
|
||||
app-develop:
|
||||
image: "epicmorg/debian:jessie-develop-jdk20"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile.develop
|
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile
Normal file
82
linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile
Normal file
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java21
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-21-jdk temurin-21-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
@ -0,0 +1,82 @@
|
||||
FROM epicmorg/debian:jessie-develop
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java21
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-21-jdk temurin-21-jre && \
|
||||
mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
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
|
||||
|
||||
ENV GRADLE_VERSION=8.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
|
||||
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -0,0 +1,11 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/debian:jessie-jdk21"
|
||||
build:
|
||||
context: .
|
||||
app-develop:
|
||||
image: "epicmorg/debian:jessie-develop-jdk21"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile.develop
|
@ -5,64 +5,68 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb wheezy main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t stretch temurin-8-jdk temurin-8-jre && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,65 +5,68 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb wheezy main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -t stretch temurin-8-jdk temurin-8-jre && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,8 +5,14 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# perforce client binary
|
||||
##################################################################
|
||||
ENV P4_VERSION=r22.1
|
||||
ENV P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
||||
ARG P4_VERSION=r22.1
|
||||
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
||||
|
||||
##################################################################
|
||||
# 7z official binary
|
||||
##################################################################
|
||||
ARG SZ_VERSION=7z2301
|
||||
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
||||
|
||||
##################################################################
|
||||
# update lists
|
||||
@ -126,8 +132,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
##################################################################
|
||||
# git-lfs official binary
|
||||
##################################################################
|
||||
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
|
||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
|
||||
#RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \ && \
|
||||
RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \
|
||||
chmod go+r /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \
|
||||
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
|
||||
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
|
||||
RUN apt-get update && \
|
||||
@ -141,7 +148,7 @@ RUN apt-get update && \
|
||||
##################################################################
|
||||
# gh official binary
|
||||
##################################################################
|
||||
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
|
||||
RUN wget --no-check-certificate -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
|
||||
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
|
||||
apt-get update && \
|
||||
|
@ -1,2 +1,5 @@
|
||||
#deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ jessie main
|
||||
#deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ jessie main
|
||||
|
||||
deb https://packagecloud.io/github/git-lfs/debian/ jessie main
|
||||
deb-src https://packagecloud.io/github/git-lfs/debian/ jessie main
|
||||
|
@ -5,67 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
#wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
# echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -o 'Acquire::Retries=3' temurin-18-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -5,67 +5,71 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
#wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \
|
||||
# echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated -o 'Acquire::Retries=3' temurin-18-jdk && \
|
||||
apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
#RUN chmod +x -R ${GRADLE_BIN}
|
||||
#RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
#RUN 7z x $KTC_TEMP -o${KTC_ROOT}
|
||||
#RUN chmod +x -R ${KTC_BIN}
|
||||
#RUN kotlin -version
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
|
@ -11,7 +11,7 @@ ENV P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin
|
||||
##################################################################
|
||||
# 7z official binary
|
||||
##################################################################
|
||||
ENV SZ_VERSION=7z2200
|
||||
ENV SZ_VERSION=7z2301
|
||||
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
||||
|
||||
##################################################################
|
||||
@ -141,8 +141,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
##################################################################
|
||||
# git-lfs official binary
|
||||
##################################################################
|
||||
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
|
||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
|
||||
#RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \ && \
|
||||
RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \
|
||||
chmod go+r /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \
|
||||
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
|
||||
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
|
||||
RUN apt-get update && \
|
||||
|
@ -1,2 +1,5 @@
|
||||
#deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ stretch main
|
||||
#deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ stretch main
|
||||
|
||||
deb https://packagecloud.io/github/git-lfs/debian/ stretch main
|
||||
deb-src https://packagecloud.io/github/git-lfs/debian/ stretch main
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java19
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,65 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,65 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java11
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java17
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java19
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java18
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-20-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java20
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-20-jre && \
|
||||
@ -16,57 +16,59 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -12,57 +12,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,65 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -5,65 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
# Additional settings
|
||||
##################################################################
|
||||
ENV MAVEN_VERSION=3.9.5
|
||||
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
||||
ENV MAVEN_ROOT=/opt/maven
|
||||
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
||||
ENV MAVEN_BIN=$MAVEN_PATH/bin
|
||||
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
||||
ARG MAVEN_TEMP=/tmp/MAVEN.zip
|
||||
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT
|
||||
RUN chmod +x -R $MAVEN_BIN
|
||||
RUN mvn -version
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
ENV GRADLE_VERSION=8.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
|
||||
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
||||
ARG GRADLE_TEMP=/tmp/gradle.zip
|
||||
|
||||
RUN mkdir -p $GRADLE_PATH
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
|
||||
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
|
||||
RUN chmod +x -R $GRADLE_BIN
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
ENV KTC_VERSION=1.9.20
|
||||
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
||||
ARG KTC_TEMP=/tmp/kotlinc.zip
|
||||
ENV KTC_ROOT=/opt/kotlin
|
||||
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
||||
ENV KTC_BIN=$KTC_PATH/bin
|
||||
ENV KTC_BIN=${KTC_PATH}/bin
|
||||
|
||||
RUN mkdir -p ${KTC_PATH}
|
||||
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH}
|
||||
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# Maven
|
||||
##################################################################
|
||||
ENV MAVEN_HOME=${MAVEN_ROOT}
|
||||
ENV M2_HOME=${MAVEN_ROOT}
|
||||
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP}
|
||||
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
||||
RUN chmod +x -R ${MAVEN_BIN}
|
||||
RUN mvn -v
|
||||
|
||||
##################################################################
|
||||
# GRADLE
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP}
|
||||
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
||||
RUN chmod +x -R ${GRADLE_BIN}
|
||||
RUN gradle -v
|
||||
|
||||
##################################################################
|
||||
# KOTLIN
|
||||
##################################################################
|
||||
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
|
||||
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
|
||||
RUN 7zz x $KTC_TEMP -o${KTC_ROOT}
|
||||
RUN chmod +x -R ${KTC_BIN}
|
||||
RUN kotlin -version
|
||||
|
||||
ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
|
@ -11,7 +11,7 @@ ENV P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin
|
||||
##################################################################
|
||||
# 7z official binary
|
||||
##################################################################
|
||||
ENV SZ_VERSION=7z2200
|
||||
ENV SZ_VERSION=7z2301
|
||||
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
||||
|
||||
##################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user