Public | Automated Build

Last pushed: 2 years ago
Dockerfile
FROM jenkins # if we want to install via apt USER root MAINTAINER ubuntu <18686882@qq.com> ENV MAVEN_VERSION 3.3.9 RUN mkdir -p /usr/share/maven \ && curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \ | tar -xzC /usr/share/maven --strip-components=1 \ && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn ENV MAVEN_HOME /usr/share/maven VOLUME /root/.m2 CMD ["mvn"]
Source Repository