Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM eclipse-temurin:17-jdk AS build
COPY . /mms
WORKDIR /mms
RUN ./gradlew --no-daemon bootJar --warning-mode all
# Pass the release tag (--build-arg BUILD_TAG=x.y.z) for a release build; without it the jar is versioned -SNAPSHOT.
ARG BUILD_TAG=
RUN ./gradlew --no-daemon -PbuildTag="${BUILD_TAG}" bootJar --warning-mode all
RUN find . -type f -name 'example-*.jar' -not -iname '*javadoc*' -not -iname '*sources*' -not -iname '*plain*' -exec cp '{}' '/app.jar' ';' \
&& mkdir -p jacocoJars

Expand Down