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 4550fd8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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-eclipse-temurin-21-alpine 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-eclipse-temurin-21-alpine 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
8 changes: 4 additions & 4 deletions java/maven/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM maven:3-jdk-11-slim AS package
FROM maven:3-eclipse-temurin-21-alpine 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
RUN apt-get update ; apt-get install --no-install-recommends -y zip
FROM maven:3-eclipse-temurin-21-alpine
RUN apk add zip
COPY --from=package /vulnfunc/java/common/target/SootWrapper.jar /vulnfunc/java/common/
COPY java/common/*.sh /vulnfunc/java/common/
COPY java/maven/*.sh /vulnfunc/java/maven/

0 comments on commit 4550fd8

Please sign in to comment.