From e9d4faacda3aa8bcbb2f0553a1436e320916aadf Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 14 Jan 2025 10:36:22 +0100 Subject: [PATCH] update images --- java/Dockerfile | 6 +++--- java/gradle/Dockerfile | 6 +++--- java/maven/Dockerfile | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java/Dockerfile b/java/Dockerfile index 5eee66e..40129b8 100644 --- a/java/Dockerfile +++ b/java/Dockerfile @@ -1,9 +1,9 @@ -FROM maven:3-jdk-11-slim AS package +FROM maven:3.9.8-eclipse-temurin-21 AS package COPY java/common /vulnfunc/java/common -RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package +RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package -DskipTests -FROM openjdk:11-jre-slim +FROM openjdk:21-slim RUN apt-get update ; apt-get install --no-install-recommends -y zip COPY --from=package /vulnfunc/java/common/target/SootWrapper.jar /vulnfunc/java/common/ COPY java/common/*.sh /vulnfunc/java/common/ diff --git a/java/gradle/Dockerfile b/java/gradle/Dockerfile index dc98b66..9b1af77 100644 --- a/java/gradle/Dockerfile +++ b/java/gradle/Dockerfile @@ -1,9 +1,9 @@ -FROM maven:3-jdk-11-slim AS package +FROM maven:3.9.8-eclipse-temurin-21 AS package COPY java/common /vulnfunc/java/common -RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package +RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package -DskipTests -FROM gradle:jre11 +FROM gradle:jdk21 RUN apt-get update ; apt-get install --no-install-recommends -y zip COPY --from=package /vulnfunc/java/common/target/SootWrapper.jar /vulnfunc/java/common/ COPY java/common/*.sh /vulnfunc/java/common/ diff --git a/java/maven/Dockerfile b/java/maven/Dockerfile index 075df46..83fb912 100644 --- a/java/maven/Dockerfile +++ b/java/maven/Dockerfile @@ -1,9 +1,9 @@ -FROM maven:3-jdk-11-slim AS package +FROM maven:3.9.8-eclipse-temurin-21 AS package COPY java/common /vulnfunc/java/common -RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package +RUN mvn -f /vulnfunc/java/common --batch-mode --update-snapshots package -DskipTests -FROM maven:3-jdk-11-slim +FROM maven:3.9.8-eclipse-temurin-21 AS package RUN apt-get update ; apt-get install --no-install-recommends -y zip COPY --from=package /vulnfunc/java/common/target/SootWrapper.jar /vulnfunc/java/common/ COPY java/common/*.sh /vulnfunc/java/common/