File tree Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ services:
6363 timeout : 10s
6464 retries : 5
6565 default_agent :
66- image : jenkins/ssh-agent:6.12.0
66+ image : jenkins/ssh-agent:6.12.0-jdk21
6767 container_name : desktop-jenkins_agent-1
6868 profiles :
6969 - default
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ services:
111111 # The healthcheck command for each agent checks if the authorized_keys file exists in the /home/jenkins/.ssh directory.
112112 # The /home/jenkins/.ssh directory in each agent container is mapped to the agent-ssh-dir volume on the host.
113113 default_agent :
114- image : jenkins/ssh-agent:6.12.0
114+ image : jenkins/ssh-agent:6.12.0-jdk21
115115 container_name : desktop-jenkins_agent-1
116116 profiles :
117117 - default
Original file line number Diff line number Diff line change 22
33# We start by defining an ARG for the Jenkins version. This allows us to easily change the version of Jenkins we want to use.
44ARG JENKINS_VERSION=2.492.3
5-
65# We then use the official Jenkins image with the specified version as our base image.
7- FROM jenkins/jenkins:"${JENKINS_VERSION}"
6+ FROM jenkins/jenkins:"${JENKINS_VERSION}" -lts-jdk21
87
98# We switch to the root user to have the necessary permissions for the upcoming operations.
109USER root
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 as ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
22
33# ca-certificates because curl uses certificates from ca-certificates
44RUN apt-get update && apt-get install -y --no-install-recommends adb build-essential ca-certificates curl file git python3 python3-pip unzip
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0
1+ FROM jenkins/ssh-agent:6.12.0-jdk21
22
33# Install necessary C++ build tools
44RUN apt-get update && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 AS ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 AS ssh-agent
22
33# install dotnet dependencies
44RUN apt-get update && apt-get install -y --no-install-recommends libc6 libgcc1 libgssapi-krb5-2 libicu72 libssl3 libstdc++6 zlib1g wget && apt-get clean && \
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 as ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
22
33# ca-certificates because curl uses certificates from ca-certificates
44RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && apt-get clean && \
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 as ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
22
33# ca-certificates because curl uses certificates from ca-certificates
44RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && apt-get clean && \
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 as ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
22
33ARG NODE_MAJOR=20
44
Original file line number Diff line number Diff line change 1- FROM jenkins/ssh-agent:6.12.0 as ssh-agent
1+ FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
22ARG NODE_MAJOR=22
33
44# ca-certificates because curl uses certificates from ca-certificates
You can’t perform that action at this time.
0 commit comments