Skip to content

Commit

Permalink
Add maven cache mount.
Browse files Browse the repository at this point in the history
  • Loading branch information
RoBobik committed Feb 6, 2024
1 parent c84d0e5 commit c7ae74f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN \

# Copy built artifact into target directory
RUN \
--mount=type=cache,target=/root/.m2 \
mkdir /build && \
WRENIDM_VERSION=$(mvn -Dexpression=project.version -q -DforceStdout help:evaluate) && \
unzip openidm-zip/target/wrenidm-$WRENIDM_VERSION.zip -d /build
Expand Down

0 comments on commit c7ae74f

Please sign in to comment.