Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
DockerHelper
/
maven
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9fa955a4
authored
Jun 03, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'testing' into 'master'
Testing See merge request
!1
2 parents
bc5bb173
b6d4c147
Pipeline
#173
passed
in 1 minute 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
Dockerfile
Dockerfile
View file @
9fa955a
...
@@ -7,13 +7,13 @@ ARG SHA=beb91419245395bd69a4a6edad5ca3ec1a8b64e41457672dc687c173a495f034
...
@@ -7,13 +7,13 @@ ARG SHA=beb91419245395bd69a4a6edad5ca3ec1a8b64e41457672dc687c173a495f034
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
RUN
mkdir -p /usr/share/maven /usr/share/maven/ref
\
RUN
mkdir -p /usr/share/maven /usr/share/maven/ref
\
&&
apk update
&&
apk add curl
&&
apk add git
\
&&
apk update
&&
apk add curl
&&
apk add git
&&
apk add bash
\
&&
curl -fsSl -o /tmp/apache-maven.tar.gz
${
BASE_URL
}
/apache-maven-
$MAVEN_VERSION
-bin.tar.gz
\
&&
curl -fsSl -o /tmp/apache-maven.tar.gz
${
BASE_URL
}
/apache-maven-
$MAVEN_VERSION
-bin.tar.gz
\
&&
echo
"
${
SHA
}
/tmp/apache-maven.tar.gz"
| sha256sum -c -
\
&&
echo
"
${
SHA
}
/tmp/apache-maven.tar.gz"
| sha256sum -c -
\
&&
tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components
=
1
\
&&
tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components
=
1
\
&&
rm -f /tmp/apache-maven.tar.gz
\
&&
rm -f /tmp/apache-maven.tar.gz
\
&&
cp
/usr/share/maven/bin/mvn /usr/bin/mvn
&&
ln -s
/usr/share/maven/bin/mvn /usr/bin/mvn
#&&
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \
#&&
cp /usr/share/maven/bin/mvn /usr/bin/mvn
ENV
MAVEN_HOME /usr/share/maven
ENV
MAVEN_HOME /usr/share/maven
ENV
MAVEN_CONFIG "$USER_HOME_DIR/.m2"
ENV
MAVEN_CONFIG "$USER_HOME_DIR/.m2"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment