From 27de9efbe220c3e9b48e04014b11eeb4484f28ce Mon Sep 17 00:00:00 2001 From: Student User Date: Thu, 8 Aug 2019 14:46:15 +0000 Subject: [PATCH] Reverted changes to the Dockerfile, fix to env is done by the dc --- nexus3/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nexus3/Dockerfile b/nexus3/Dockerfile index 6a49217..3c3c22b 100644 --- a/nexus3/Dockerfile +++ b/nexus3/Dockerfile @@ -73,8 +73,7 @@ VOLUME ${NEXUS_DATA} EXPOSE 8081 USER nexus -#ENV INSTALL4J_ADD_VM_PARAMS="-Xms1200m -Xmx1200m -XX:MaxDirectMemorySize=2g -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs" -ENV INSTALL4J_ADD_VM_PARAMS="-Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs" +ENV INSTALL4J_ADD_VM_PARAMS="-Xms1200m -Xmx1200m -XX:MaxDirectMemorySize=2g -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs" ENTRYPOINT ["/uid_entrypoint.sh"] CMD ["sh", "-c", "${SONATYPE_DIR}/start-nexus-repository-manager.sh"]