annotation dockerfile fix

This commit is contained in:
Alexandros Mandilaras 2024-04-23 11:19:41 +03:00
parent f2af35a9aa
commit e038a6fdf0
2 changed files with 5 additions and 4 deletions

View File

@ -20,9 +20,10 @@ RUN rm -f /build/annotation-web/src/main/resources/certificates/*.crt
WORKDIR /build/ WORKDIR /build/
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline RUN mvn -Dserver.username=${CITE_MAVEN_ACCOUNT_USR} -Dserver.password=${CITE_MAVEN_ACCOUNT_PSW} clean
RUN mvn -Dserver.username=${CITE_MAVEN_ACCOUNT_USR} -Dserver.password=${CITE_MAVEN_ACCOUNT_PSW} install
# Build project # Build project
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} package
######################################## Run Stage ######################################## ######################################## Run Stage ########################################
FROM eclipse-temurin:21-jre-ubi9-minimal FROM eclipse-temurin:21-jre-ubi9-minimal

View File

@ -4,7 +4,7 @@
</pluginGroups> </pluginGroups>
<servers> <servers>
<server> <server>
<id>dev</id> <id>cite-repo</id>
<username>${server_username}</username> <username>${server_username}</username>
<password>${server_password}</password> <password>${server_password}</password>
</server> </server>