Skip to content

Commit

Permalink
# adjust jenkins Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed Nov 17, 2024
1 parent 0f8fa21 commit 8ed3db2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins-ssh-agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/ssh-agent:6.1.0-jdk17
FROM jenkins/ssh-agent:{{ param_role_image_version }}

USER root
RUN apt-get update && apt-get install -y git curl lsb-release
Expand Down
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins-ssh-agent/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.9"
services:

jenkins-ssh-agent:
image: "{{ param_registry_url }}/{{ param_registry_dir }}/jenkins-ssh-agent:jdk17"
image: "{{ param_registry_url }}/{{ param_registry_dir }}/jenkins-ssh-agent:{{ param_role_image_version }}"
pull_policy: always
container_name: jenkins-ssh-agent
privileged: true
Expand Down
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins-ssh-agent/env.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
param_role_image_version: jdk17
param_role_image_version: 6.1.0-jdk17
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/jenkins:2.485-jdk17
FROM jenkins/jenkins:{{ param_role_image_version }}

USER root
RUN apt-get update -y && apt-get install -y lsb-release
Expand Down
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ x-traefik-label: &traefik-label
services:

jenkins:
image: "{{ param_registry_url }}/{{ param_registry_dir }}/jenkins:jdk17"
image: "{{ param_registry_url }}/{{ param_registry_dir }}/jenkins:{{ param_role_image_version }}"
pull_policy: always
container_name: jenkins
privileged: true
Expand Down
2 changes: 1 addition & 1 deletion server/docker/ops/jenkins/env.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
param_role_image_version: jdk17
param_role_image_version: 2.485-jdk21

0 comments on commit 8ed3db2

Please sign in to comment.