diff --git a/Dockerfile b/Dockerfile index 653c580..e73ad91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ -FROM folioci/alpine-jre-openjdk11:latest +FROM folioci/alpine-jre-openjdk17:latest + +# Install latest patch versions of packages: https://pythonspeed.com/articles/security-updates-in-docker/ +USER root +RUN apk upgrade --no-cache +USER folio ENV VERTICLE_FILE mod-erm-usage-server-fat.jar diff --git a/Jenkinsfile b/Jenkinsfile index 428d27b..ca7aba7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,13 @@ buildMvn { publishModDescriptor = 'yes' mvnDeploy = 'yes' - buildNode = 'jenkins-agent-java11' + buildNode = 'jenkins-agent-java17' doDocker = { buildJavaDocker { publishMaster = 'yes' healthChk = 'yes' - healthChkCmd = 'curl -sS --fail -o /dev/null http://localhost:8081/apidocs/ || exit 1' + healthChkCmd = 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1' } } } diff --git a/mod-erm-usage-server/pom.xml b/mod-erm-usage-server/pom.xml index e6e8ff5..15c3314 100644 --- a/mod-erm-usage-server/pom.xml +++ b/mod-erm-usage-server/pom.xml @@ -141,13 +141,13 @@ - com.nickwongdev + dev.aspectj aspectj-maven-plugin - 1.12.6 + 1.13.1 true false - 11 + 17 **/impl/*.java **/*.aj @@ -173,12 +173,12 @@ org.aspectj aspectjrt - 1.9.7 + 1.9.19 org.aspectj aspectjtools - 1.9.7 + 1.9.19 diff --git a/pom.xml b/pom.xml index 5a48694..52333d3 100644 --- a/pom.xml +++ b/pom.xml @@ -23,12 +23,12 @@ UTF-8 UTF-8 UTF-8 - 11 + 17 35.0.6 ${project.parent.basedir}/ramls 4.3.8 - 3.0.0 + 4.0.0-SNAPSHOT false