Update Jenkinsfile & Create Dockerfile

Experiment with Dockerfile to allow deployment to ossrh
pull/9/head
Hammy 3 years ago
parent bb308c6d9d
commit 586eb875dd

@ -0,0 +1,6 @@
FROM maven:3.8.1-adoptopenjdk-11
COPY settings.xml /root/.m2
RUN apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
RUN apt install gpg

3
Jenkinsfile vendored

@ -1,7 +1,6 @@
pipeline { pipeline {
agent { agent {
docker { dockerfile {
image "maven:3.8.1-adoptopenjdk-11"
args '-v /root/.m2:/root/.m2' args '-v /root/.m2:/root/.m2'
} }
} }

Loading…
Cancel
Save