Dockerfile update
This commit is contained in:
parent
2287bd5af9
commit
7a4ce739ee
|
@ -15,8 +15,10 @@ ENV server_username=$MAVEN_ACCOUNT_USR
|
||||||
ENV server_password=$MAVEN_ACCOUNT_PSW
|
ENV server_password=$MAVEN_ACCOUNT_PSW
|
||||||
|
|
||||||
COPY settings.xml /root/.m2/settings.xml
|
COPY settings.xml /root/.m2/settings.xml
|
||||||
ONBUILD COPY keypair.asc /tmp/keypair.asc
|
COPY keypair.asc /tmp/keypair.asc
|
||||||
RUN if [[[ -f "/tmp/keypair.asc" ]] ; then gpg --batch --import /tmp/keypair.asc ; fi
|
RUN if [ "$PROFILE" = "ossrh" ]; then \
|
||||||
|
gpg --batch --import /tmp/keypair.asc; \
|
||||||
|
fi
|
||||||
|
|
||||||
WORKDIR /build/
|
WORKDIR /build/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue