We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 282d810 + 86d3bde commit cd66f1dCopy full SHA for cd66f1d
1 file changed
Dockerfile
@@ -2,7 +2,7 @@
2
FROM maven:3.9.4-eclipse-temurin-17 AS build
3
WORKDIR /workspace
4
COPY pom.xml ./
5
-COPY .mvn .mvn
+
6
# use BuildKit cache for Maven repo
7
RUN --mount=type=cache,target=/root/.m2 mvn -B -DskipTests dependency:go-offline
8
COPY src ./src
0 commit comments