From 14a086156e8c2ff6d9241193efddc44b62df2960 Mon Sep 17 00:00:00 2001 From: Rene Meier Date: Tue, 29 Oct 2024 22:08:06 +0100 Subject: [PATCH] Test named cache --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e7d0f5..6f17155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,12 +11,8 @@ COPY pom.xml /MetFragRelaunched/ RUN printf '# local database file folder \n\ LocalDatabasesFolderForWeb = /vol/file_databases' > /MetFragRelaunched/MetFragWeb/src/main/webapp/resources/settings.properties -# Debug step to check cache contents -RUN --mount=type=cache,target=/root/.m2 ls -la /root/.m2/repository - # Cache Maven dependencies using a named cache RUN --mount=type=cache,target=/root/.m2,source=maven_cache mvn -f MetFragRelaunched clean package -pl MetFragWeb -am -DskipTests -#RUN --mount=type=cache,target=/root/.m2 mvn -f MetFragRelaunched clean package -pl MetFragWeb -am -DskipTests FROM alpine:latest AS downloader