annotation dockerfile fix
This commit is contained in:
parent
f2af35a9aa
commit
e038a6fdf0
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
@ -30,4 +30,4 @@
|
||||||
</repositories>
|
</repositories>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</settings>
|
</settings>
|
Loading…
Reference in New Issue