Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
smilelikeshit committed Feb 16, 2020
1 parent 036f035 commit 1702d62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ RUN npm install -g bower
RUN cd /opt/ && wget http://www-eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz \
&& tar -xvzf apache-maven-3.3.9-bin.tar.gz \
&& mv apache-maven-3.3.9 maven
RUN export M2_HOME=/opt/maven && export PATH=${M2_HOME}/bin:${PATH}
RUN echo "export M2_HOME=/opt/maven" > /etc/profile.d/maven.sh \
&& export PATH=${M2_HOME}/bin:${PATH} >> /etc/profile.d/maven.sh \
&& chmod +x /etc/profile.d/maven.sh \
&& source chmod +x /etc/profile.d/maven.sh

RUN mvn --version


Expand Down

0 comments on commit 1702d62

Please sign in to comment.