ATLAS-3200:- Add missing memory requirements for dev-support/atlas-docker/Dockerfile.

This commit is contained in:
Islam Azab 2019-05-07 15:28:10 +02:00 committed by nixonrodrigues
parent 2d23b037be
commit 73d2134ac7
1 changed files with 4 additions and 0 deletions

View File

@ -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