Dockerfile update

master 1.0.0
Diamantis Tziotzios 1 year ago
parent 2287bd5af9
commit 7a4ce739ee

@ -15,8 +15,10 @@ ENV server_username=$MAVEN_ACCOUNT_USR
ENV server_password=$MAVEN_ACCOUNT_PSW
COPY settings.xml /root/.m2/settings.xml
ONBUILD COPY keypair.asc /tmp/keypair.asc
RUN if [[[ -f "/tmp/keypair.asc" ]] ; then gpg --batch --import /tmp/keypair.asc ; fi
COPY keypair.asc /tmp/keypair.asc
RUN if [ "$PROFILE" = "ossrh" ]; then \
gpg --batch --import /tmp/keypair.asc; \
fi
WORKDIR /build/

Loading…
Cancel
Save