Commit 73d2134a by Islam Azab Committed by nixonrodrigues

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

parent 2d23b037
...@@ -37,6 +37,10 @@ WORKDIR /root ...@@ -37,6 +37,10 @@ WORKDIR /root
# Pull down Atlas and build it into /root/atlas-bin. # Pull down Atlas and build it into /root/atlas-bin.
RUN git clone https://github.com/apache/atlas.git -b master 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 # Remove -DskipTests if unit tests are to be included
RUN mvn clean install -DskipTests -Pdist,embedded-hbase-solr -f ./atlas/pom.xml RUN mvn clean install -DskipTests -Pdist,embedded-hbase-solr -f ./atlas/pom.xml
RUN mkdir -p atlas-bin RUN mkdir -p atlas-bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment