diff --git a/.github/Dockerfile b/.github/Dockerfile index 6dbc743..7472d94 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -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 diff --git a/.github/run.sh b/.github/run.sh index abee97d..1dfe240 100755 --- a/.github/run.sh +++ b/.github/run.sh @@ -8,5 +8,5 @@ echo "Please connect to IP address $HOST" # to persist data: # create a volume using docker `volume create ` # mount the volume via docker run command using `-v :/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 diff --git a/pom.xml b/pom.xml index d070725..27d6c1c 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ - 2.401.1 + 2.442 11