Skip to content

Commit

Permalink
master - modified: image/cicd-build-tools/Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lj020326 committed Feb 27, 2024
1 parent d5e0571 commit 8b8307c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/cicd-build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ RUN mkdir -p ${WORKDIR}/.ansible \
# Maven
#==========
#ENV MAVEN_VERSION 3.6.3
RUN MAVEN_VERSION=$(curl -sX GET http://archive.apache.org/dist/maven/maven-3/ | grep href | sed 's/.*\/">\(.*\)\/<.*/\1/' | uniq | tail -1) \
RUN MAVEN_VERSION=$(curl -sX GET https://archive.apache.org/dist/maven/maven-3/ | grep href | sed 's/.*\/">\(.*\)\/<.*/\1/' | uniq | tail -1) \
&& curl -fsSL http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share \
&& mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
Expand Down

0 comments on commit 8b8307c

Please sign in to comment.