From 09993806c21647459ecb4c42bdfa85f3acd9f29b Mon Sep 17 00:00:00 2001 From: Christoph Knoedlseder Date: Mon, 7 Oct 2024 16:55:53 +0200 Subject: [PATCH 1/2] change perfumator download link and version --- base/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 53493d0..9df69b4 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -1,14 +1,14 @@ FROM docker.io/library/maven:3-eclipse-temurin-17 AS perfumator-builder -ARG PERFUMATOR_VERSION=0.3.0 -ENV PERFUMATOR_DOWNLOAD_URL=https://git.fim.uni-passau.de/silbereise/perfumator-java/-/archive/v${PERFUMATOR_VERSION}/perfumator-java-v${PERFUMATOR_VERSION}.zip +ARG PERFUMATOR_VERSION=0.3.2 +ENV PERFUMATOR_DOWNLOAD_URL=https://github.com/se2p/perfumator/archive/refs/heads/main.zip RUN : \ && apt-get update \ && apt-get install -y unzip \ && wget -q -O perfumator.zip ${PERFUMATOR_DOWNLOAD_URL} \ && unzip perfumator.zip \ - && cd perfumator-java-v${PERFUMATOR_VERSION} \ + && cd perfumator-main \ && mvn -B -DskipTests package \ && cp target/perfumator-java-${PERFUMATOR_VERSION}-jar-with-dependencies.jar /perfumator-java.jar \ && : From 96bbfc646637d97fad65055e7a06e5c086951a26 Mon Sep 17 00:00:00 2001 From: Christoph Knoedlseder Date: Thu, 10 Oct 2024 10:36:49 +0200 Subject: [PATCH 2/2] use tags instead of branch --- base/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 9df69b4..e6090f3 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -1,14 +1,14 @@ FROM docker.io/library/maven:3-eclipse-temurin-17 AS perfumator-builder -ARG PERFUMATOR_VERSION=0.3.2 -ENV PERFUMATOR_DOWNLOAD_URL=https://github.com/se2p/perfumator/archive/refs/heads/main.zip +ARG PERFUMATOR_VERSION=0.4.0 +ENV PERFUMATOR_DOWNLOAD_URL=https://github.com/se2p/perfumator/archive/refs/tags/v${PERFUMATOR_VERSION}.zip RUN : \ && apt-get update \ && apt-get install -y unzip \ && wget -q -O perfumator.zip ${PERFUMATOR_DOWNLOAD_URL} \ && unzip perfumator.zip \ - && cd perfumator-main \ + && cd perfumator-${PERFUMATOR_VERSION} \ && mvn -B -DskipTests package \ && cp target/perfumator-java-${PERFUMATOR_VERSION}-jar-with-dependencies.jar /perfumator-java.jar \ && :