Skip to content

Commit

Permalink
update images
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Jan 14, 2025
1 parent aa5c18e commit e9d4faa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions java/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
6 changes: 3 additions & 3 deletions java/gradle/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
6 changes: 3 additions & 3 deletions java/maven/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit e9d4faa

Please sign in to comment.