dockerfile fix
This commit is contained in:
parent
6bd76b92f1
commit
d3f4806a5e
|
@ -1,4 +1,4 @@
|
|||
FROM maven:3.8.6-eclipse-temurin-17-focal
|
||||
FROM maven:3-eclipse-temurin-21
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install gpg -y
|
||||
|
@ -9,6 +9,8 @@ ARG REVISION
|
|||
ARG MAVEN_GPG_PASSPHRASE
|
||||
ARG MAVEN_GPG_KEYNAME
|
||||
ARG PROFILE
|
||||
ARG DEV_PROFILE_URL_DEPOSIT
|
||||
ARG DEV_PROFILE_URL
|
||||
ENV gpg_keyname=$MAVEN_GPG_KEYNAME
|
||||
ENV gpg_passphrase=$MAVEN_GPG_PASSPHRASE
|
||||
ENV server_username=$MAVEN_ACCOUNT_USR
|
||||
|
@ -24,4 +26,4 @@ WORKDIR /build/
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN mvn -Drevision=${REVISION} -P${PROFILE} clean deploy
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrlDeposit=${DEV_PROFILE_URL_DEPOSIT} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean deploy
|
Loading…
Reference in New Issue