install Maven 3.3.9 as part of the Docker build process

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/3553ea99
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/3553ea99
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/3553ea99

Branch: refs/heads/TINKERPOP-1857
Commit: 3553ea9903a2a5cd4dbc41f3aeb82941bc13f817
Parents: 397393d
Author: Daniel Kuppitz <[email protected]>
Authored: Thu Apr 6 14:40:05 2017 +0200
Committer: Jorge Bay Gondra <[email protected]>
Committed: Fri Jan 19 09:30:18 2018 +0100

----------------------------------------------------------------------
 docker/build/Dockerfile.template | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/3553ea99/docker/build/Dockerfile.template
----------------------------------------------------------------------
diff --git a/docker/build/Dockerfile.template b/docker/build/Dockerfile.template
index 84f551d..17084c9 100644
--- a/docker/build/Dockerfile.template
+++ b/docker/build/Dockerfile.template
@@ -20,3 +20,7 @@ FROM tinkerpop:hadoop-HADOOP_VERSION
 RUN mkdir -p /usr/src/tinkerpop
 WORKDIR /usr/src/tinkerpop
 COPY . /usr/src/tinkerpop
+RUN chmod 744 ./.travis.install-maven.sh
+ENV M2_HOME /root/mvn-home
+ENV PATH ${M2_HOME}/bin:${PATH}
+RUN ./.travis.install-maven.sh 3.3.9 ${M2_HOME}

Reply via email to