From f9abd78b86da9552c81e7277900347676027353e Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 2 Apr 2025 18:06:57 -0700 Subject: [PATCH] Patch build environment again --- Jenkins/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Jenkins/Dockerfile b/Jenkins/Dockerfile index 4af1fa6..11b737d 100644 --- a/Jenkins/Dockerfile +++ b/Jenkins/Dockerfile @@ -1,8 +1,17 @@ FROM git.zontreck.com/packages/debian:build +RUN apt-get update +RUN apt install -y wget apt-transport-https gpg && apt-get clean -y +RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null + + +RUN echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list + RUN apt-get update RUN apt-get upgrade -y -RUN apt-get install -y openjdk-21-jdk openjdk-21-jre curl wget moreutils + + +RUN apt-get install -y openjdk-21-jdk openjdk-21-jre curl wget moreutils && apt-get clean -y ENV JENKINS_VERSION 2.504