Skip to content

Commit

Permalink
Merge pull request #145 from cmars/chore/update-base-image-2_442
Browse files Browse the repository at this point in the history
chore: update pom dependency and base image to jenkins 2.442
  • Loading branch information
PeterSchafer authored Feb 27, 2024
2 parents e6802c0 + 8c26ae9 commit 9bb0d01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ RUN ./mvnw verify -q -s .mvn/settings.xml --fail-never
COPY . .
RUN ./mvnw clean verify -s .mvn/settings.xml

FROM jenkins/jenkins:2.401.1-jdk11
FROM jenkins/jenkins:2.442-jdk11

USER root
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq git python3 python3-pip sudo
RUN pip3 install virtualenv
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -qq --no-install-recommends git python3 python3-pip python3-virtualenv sudo

USER jenkins

Expand Down
2 changes: 1 addition & 1 deletion .github/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ echo "Please connect to IP address $HOST"
# to persist data:
# create a volume using docker `volume create <VOLUME_NAME>`
# mount the volume via docker run command using `-v <VOLUME_NAME>:/var/jenkins_home`
docker run -rm --platform linux/amd64 -p 8080:8080 -p 50000:50000 --name=jenkins-snyk jenkins-snyk
docker run --rm --platform linux/amd64 -p 8080:8080 -p 50000:50000 --name=jenkins-snyk jenkins-snyk
popd || exit
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<properties>
<jenkins.version>2.401.1</jenkins.version>
<jenkins.version>2.442</jenkins.version>
<!-- java11 required since 2.357:
https://www.jenkins.io/blog/2022/06/28/require-java-11/ -->
<java.version>11</java.version>
Expand Down

0 comments on commit 9bb0d01

Please sign in to comment.