File tree Expand file tree Collapse file tree 9 files changed +9
-10
lines changed Expand file tree Collapse file tree 9 files changed +9
-10
lines changed 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
Original file line number Diff line number Diff line change 11#  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.
22
33#  We start from the Jenkins SSH agent image version 5.20.0.
4- FROM  jenkins/ssh-agent:6.12.0 as ssh-agent
4+ FROM  jenkins/ssh-agent:6.12.0-jdk21  as ssh-agent
55
66#  The RUN command executes a series of commands in the new layer of the image and commits the results.
77#  The following commands are executed:
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments