Skip to content

Commit

Permalink
Test named cache
Browse files Browse the repository at this point in the history
  • Loading branch information
meier-rene committed Oct 29, 2024
1 parent 65abb51 commit 14a0861
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 14a0861

Please sign in to comment.