Skip to content

Commit

Permalink
fix: use maven 3.6.3 and 3.6.1 is no longer available
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 committed Dec 18, 2019
1 parent fd4ac39 commit bebfdd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ WORKDIR /home/node
# Install maven, node, cli
RUN apt-get update && \
apt-get install -y curl git && \
curl -L -o apache-maven-3.6.1-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz && \
tar -xvzf apache-maven-3.6.1-bin.tar.gz && \
rm -f apache-maven-3.6.1-bin.tar.gz && \
curl -L -o apache-maven-3.6.3-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
tar -xvzf apache-maven-3.6.3-bin.tar.gz && \
rm -f apache-maven-3.6.3-bin.tar.gz && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get install -y nodejs jq && \
npm install --global snyk snyk-to-html && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ WORKDIR /home/node
# Install maven, node, cli
RUN apt-get update && \
apt-get install -y curl git && \
curl -L -o apache-maven-3.6.1-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz && \
tar -xvzf apache-maven-3.6.1-bin.tar.gz && \
rm -f apache-maven-3.6.1-bin.tar.gz && \
curl -L -o apache-maven-3.6.3-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
tar -xvzf apache-maven-3.6.3-bin.tar.gz && \
rm -f apache-maven-3.6.3-bin.tar.gz && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get install -y nodejs jq && \
npm install --global snyk snyk-to-html && \
Expand All @@ -20,7 +20,7 @@ RUN apt-get update && \

ENV HOME /home/node
ENV M2 /home/node/.m2
ENV PATH /home/node/apache-maven-3.6.1/bin:$PATH
ENV PATH /home/node/apache-maven-3.6.3/bin:$PATH

# The path at which the project is mounted (-v runtime arg)
ENV PROJECT_PATH /project
Expand Down

0 comments on commit bebfdd3

Please sign in to comment.