Patch build environment again

This commit is contained in:
zontreck 2025-04-02 18:06:57 -07:00
parent 4bd3cfe1b8
commit f9abd78b86

View file

@ -1,8 +1,17 @@
FROM git.zontreck.com/packages/debian:build 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 update
RUN apt-get upgrade -y 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 ENV JENKINS_VERSION 2.504