[VOL-3499] Adding -XX:-UseContainerSupport in JAVA_OPTS to pass right number of processors
Also removing mac-learner app until it's finished and optimized
Change-Id: I95ccabee5ffeecce85a18ff6918cd4d73a493dc5
diff --git a/Dockerfile.voltha-onos b/Dockerfile.voltha-onos
index ef9bdf2..1987991 100644
--- a/Dockerfile.voltha-onos
+++ b/Dockerfile.voltha-onos
@@ -66,6 +66,7 @@
ENV KARAF_ROOT=${ONOS}/apache-karaf-${KARAF_VERSION}
ENV KARAF_M2=${KARAF_ROOT}/system
ENV APPS_ROOT=${ONOS}/apps
+ENV JAVA_OPTS='-XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:-UseContainerSupport -Dkaraf.log.console=INFO -Dds.lock.timeout.milliseconds=10000'
COPY --from=install ${KARAF_M2}/ ${KARAF_M2}/
RUN echo "${KARAF_M2} ${APPS_ROOT}"