You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2018/10/09 05:43:53 UTC
mnemonic git commit: MNEMONIC-505: update the Maven installation from
repository to manually deployment
Repository: mnemonic
Updated Branches:
refs/heads/master 38706b490 -> d72d3e002
MNEMONIC-505: update the Maven installation from repository to manually
deployment
Project: http://git-wip-us.apache.org/repos/asf/mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/mnemonic/commit/d72d3e00
Tree: http://git-wip-us.apache.org/repos/asf/mnemonic/tree/d72d3e00
Diff: http://git-wip-us.apache.org/repos/asf/mnemonic/diff/d72d3e00
Branch: refs/heads/master
Commit: d72d3e00283ce805e176470b01c0331ff9825819
Parents: 38706b4
Author: Lan Lin <la...@gmail.com>
Authored: Sun Oct 7 14:18:22 2018 -0700
Committer: Lan Lin <la...@gmail.com>
Committed: Sun Oct 7 14:18:22 2018 -0700
----------------------------------------------------------------------
docker/docker-Ubuntu/Dockerfile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mnemonic/blob/d72d3e00/docker/docker-Ubuntu/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/docker-Ubuntu/Dockerfile b/docker/docker-Ubuntu/Dockerfile
index e4a2077..a5888a4 100644
--- a/docker/docker-Ubuntu/Dockerfile
+++ b/docker/docker-Ubuntu/Dockerfile
@@ -29,11 +29,15 @@ ENV HTTPS_PROXY ${http_proxy}
RUN echo The proxy set : ${http_proxy}
RUN apt-get -y update && \
- apt-get install -y default-jdk cmake check git maven pkg-config autoconf man build-essential gcc g++ uuid-dev pandoc devscripts flex doxygen
+ apt-get install -y default-jdk cmake check git pkg-config autoconf man build-essential gcc g++ uuid-dev pandoc devscripts flex doxygen
RUN apt-get clean
-
-ENV M2_HOME /usr/share/maven
+
+RUN curl -O http://mirror.cogentco.com/pub/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz && \
+ tar xvf apache-maven-3.5.4-bin.tar.gz && \
+ mv apache-maven-3.5.4 /usr/local/apache-maven
+
+ENV M2_HOME /usr/local/apache-maven
ENV M2 $M2_HOME/bin
ENV PATH $M2:$PATH
ENV JAVA_HOME /usr/lib/jvm/default-java