Browse Source

Update Dockerfile

main
zxbu 4 years ago committed by GitHub
parent
commit
a4d6c6a90f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dockerfile

2
Dockerfile

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
FROM maven:3.6.3-jdk-8 AS maven
USER root
COPY ./ /tmp/code
RUN cd /tmp/code && mvn -s /tmp/code/settings.xml clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
RUN cd /tmp/code && mvn clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
FROM java:8

Loading…
Cancel
Save