Patch build environment again
This commit is contained in:
parent
4bd3cfe1b8
commit
f9abd78b86
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue