try remove revision

This commit is contained in:
Alexandros Mandilaras 2024-04-05 13:35:13 +03:00
parent 42af117718
commit 9f99f622ef
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ RUN rm -f /build/annotation-web/src/main/resources/logging/*.xml
WORKDIR /build/
#RUN mvn package -q
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline
RUN mvn -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline
# Build project
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package
RUN mvn -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package
######################################## Run Stage ########################################
FROM eclipse-temurin:21-jre-alpine