Skip to content

Commit

Permalink
Reverted changes to the Dockerfile, fix to env is done by the dc
Browse files Browse the repository at this point in the history
  • Loading branch information
Student User committed Aug 8, 2019
1 parent 9f231c9 commit 27de9ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nexus3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 27de9ef

Please sign in to comment.