Skip to content

Commit

Permalink
Updated Dockerfile for new desired values.
Browse files Browse the repository at this point in the history
  • Loading branch information
maudemor committed Jun 3, 2021
1 parent 20d7733 commit 4c10963
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions nexus3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ FROM registry.access.redhat.com/ubi8/ubi:8.0

LABEL name="Nexus Repository Manager" \
vendor=Sonatype \
version="3.18.0-01" \
release="3.18.0" \
version="3.30.1-01" \
release="3.30.1" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
Expand All @@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"


ARG NEXUS_VERSION=3.18.0-01
ARG NEXUS_VERSION=3.30.1-01
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=e1d9d84d8b169b2f6c735e7db35e3310cf9e242da12b4af83da4e3618acfc99e
ARG NEXUS_DOWNLOAD_SHA256_HASH=527c5ba75ffeb4400d553cb1e9885ae3c914ff2642724c8752f75bdf79cfe411

# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
Expand Down Expand Up @@ -73,7 +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="-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs"

ENTRYPOINT ["/uid_entrypoint.sh"]
CMD ["sh", "-c", "${SONATYPE_DIR}/start-nexus-repository-manager.sh"]
6 changes: 3 additions & 3 deletions nexus3/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This Dockerfile is a combination of the two Dockerfiles (locked at the commit):
This Dockerfile is a combination of the two Dockerfiles:

* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile
* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile.rh.el
* https://github.com/sonatype/docker-nexus3/blob/3.30.1/Dockerfile
* https://github.com/sonatype/docker-nexus3/blob/3.30.1/Dockerfile.rh.el

Both Dockerfiles use Chef recipes to install Nexus. These Chef recipes are
downloaded during the build by the Dockerfile.
Expand Down

0 comments on commit 4c10963

Please sign in to comment.