Commit 10f1ee4e authored by wentao.suo's avatar wentao.suo

ffffffff

parent 45adcf32
FROM 192.168.4.36/baseimg/jenkins-slave
WORKDIR /usr/local
RUN wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
RUN tar zxf apache-maven-3.5.2-bin.tar.gz
RUN mv apache-maven-3.5.2 /usr/share/maven
COPY ./settings.xml /usr/share/maven/conf/
RUN rm -rf /usr/local/apache-maven-3.5.2*
ENV M2_HOME /usr/share/maven
ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment