diff --git a/build-docker-compose.yaml b/build-docker-compose.yaml index 30c9b74c..bea778c8 100644 --- a/build-docker-compose.yaml +++ b/build-docker-compose.yaml @@ -63,7 +63,7 @@ services: timeout: 10s retries: 5 default_agent: - image: jenkins/ssh-agent:6.12.0 + image: jenkins/ssh-agent:6.12.0-jdk21 container_name: desktop-jenkins_agent-1 profiles: - default diff --git a/docker-compose.yaml b/docker-compose.yaml index 401549c8..5c92ed17 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -111,7 +111,7 @@ services: # The healthcheck command for each agent checks if the authorized_keys file exists in the /home/jenkins/.ssh directory. # The /home/jenkins/.ssh directory in each agent container is mapped to the agent-ssh-dir volume on the host. default_agent: - image: jenkins/ssh-agent:6.12.0 + image: jenkins/ssh-agent:6.12.0-jdk21 container_name: desktop-jenkins_agent-1 profiles: - default