Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

# We start by defining an ARG for the Jenkins version. This allows us to easily change the version of Jenkins we want to use.
ARG JENKINS_VERSION=2.492.3

# We then use the official Jenkins image with the specified version as our base image.
FROM jenkins/jenkins:"${JENKINS_VERSION}"
FROM jenkins/jenkins:"${JENKINS_VERSION}"-lts-jdk21

# We switch to the root user to have the necessary permissions for the upcoming operations.
USER root
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/android/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent

# ca-certificates because curl uses certificates from ca-certificates
RUN apt-get update && apt-get install -y --no-install-recommends adb build-essential ca-certificates curl file git python3 python3-pip unzip
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/cpp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0
FROM jenkins/ssh-agent:6.12.0-jdk21

# Install necessary C++ build tools
RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/dotnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 AS ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 AS ssh-agent

# install dotnet dependencies
RUN apt-get update && apt-get install -y --no-install-recommends libc6 libgcc1 libgssapi-krb5-2 libicu72 libssl3 libstdc++6 zlib1g wget && apt-get clean && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/golang/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent

# ca-certificates because curl uses certificates from ca-certificates
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && apt-get clean && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/maven/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent

# ca-certificates because curl uses certificates from ca-certificates
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && apt-get clean && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/multi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent

ARG NODE_MAJOR=20

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent
ARG NODE_MAJOR=22

# ca-certificates because curl uses certificates from ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This Dockerfile is used to create a Jenkins SSH agent with Python and several Python packages installed in order to run the python sample tutorial.

# We start from the Jenkins SSH agent image version 5.20.0.
FROM jenkins/ssh-agent:6.12.0 as ssh-agent
FROM jenkins/ssh-agent:6.12.0-jdk21 as ssh-agent

# The RUN command executes a series of commands in the new layer of the image and commits the results.
# The following commands are executed:
Expand Down
Loading