You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2019/05/09 09:00:24 UTC

[atlas] branch master updated: ATLAS-3200:- Add missing memory requirements for dev-support/atlas-docker/Dockerfile.

This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 73d2134  ATLAS-3200:- Add missing memory requirements for dev-support/atlas-docker/Dockerfile.
73d2134 is described below

commit 73d2134ac773c6428e0d59647fb7721fbc014f31
Author: Islam Azab <is...@gmail.com>
AuthorDate: Tue May 7 15:28:10 2019 +0200

    ATLAS-3200:- Add missing memory requirements for dev-support/atlas-docker/Dockerfile.
---
 dev-support/atlas-docker/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-support/atlas-docker/Dockerfile b/dev-support/atlas-docker/Dockerfile
index 89d9502..bf9eea1 100644
--- a/dev-support/atlas-docker/Dockerfile
+++ b/dev-support/atlas-docker/Dockerfile
@@ -37,6 +37,10 @@ WORKDIR /root
 # Pull down Atlas and build it into /root/atlas-bin.
 RUN git clone https://github.com/apache/atlas.git -b master
 
+# Memory requirements
+ENV MAVEN_OPTS "-Xms2g -Xmx2g"
+# RUN export MAVEN_OPTS="-Xms2g -Xmx2g"
+
 # Remove -DskipTests if unit tests are to be included
 RUN mvn clean install -DskipTests -Pdist,embedded-hbase-solr -f ./atlas/pom.xml
 RUN mkdir -p atlas-bin