Compare commits

...

3 Commits

Author SHA1 Message Date
Sonatype 8092a53b72 Update Repository Manager to 3.31.0-01. 2021-06-17 00:15:00 +00:00
Sonatype 44074ee10d Update Repository Manager to 3.30.1-01. 2021-04-22 14:53:49 +00:00
Rich Seddon ca76aaab44 Update README.md
Updated INSTALL4J_ADD_VM_PARAMS example memory settings to be in line with our recommendations, also put in a link to our memory requirements docs.
2021-03-05 10:20:31 -06:00
5 changed files with 19 additions and 17 deletions
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/ubi8/ubi
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.30.0-01" \
release="3.30.0" \
version="3.31.0-01" \
release="3.31.0" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.30.0-01
ARG NEXUS_VERSION=3.31.0-01
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=6b186ec3514dbadf89a92d560b1c9098fd3caa1d2d5e7f5402fcf61a3d6418fb
ARG NEXUS_DOWNLOAD_SHA256_HASH=975d113d293a2958dcb642e81e68ccd575de6e3a124ea00ad6c9f578a173a97b
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM centos:centos7
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.30.0-01" \
release="3.30.0" \
version="3.31.0-01" \
release="3.31.0" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.30.0-01
ARG NEXUS_VERSION=3.31.0-01
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=6b186ec3514dbadf89a92d560b1c9098fd3caa1d2d5e7f5402fcf61a3d6418fb
ARG NEXUS_DOWNLOAD_SHA256_HASH=975d113d293a2958dcb642e81e68ccd575de6e3a124ea00ad6c9f578a173a97b
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/rhel7/rhel
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.30.0-01" \
release="3.30.0" \
version="3.31.0-01" \
release="3.31.0" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.30.0-01
ARG NEXUS_VERSION=3.31.0-01
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=6b186ec3514dbadf89a92d560b1c9098fd3caa1d2d5e7f5402fcf61a3d6418fb
ARG NEXUS_DOWNLOAD_SHA256_HASH=975d113d293a2958dcb642e81e68ccd575de6e3a124ea00ad6c9f578a173a97b
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/ubi8/ubi
LABEL name="Nexus Repository Manager" \
vendor=Sonatype \
maintainer="Sonatype <support@sonatype.com>" \
version="3.30.0-01" \
release="3.30.0" \
version="3.31.0-01" \
release="3.31.0" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.30.0-01
ARG NEXUS_VERSION=3.31.0-01
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=6b186ec3514dbadf89a92d560b1c9098fd3caa1d2d5e7f5402fcf61a3d6418fb
ARG NEXUS_DOWNLOAD_SHA256_HASH=975d113d293a2958dcb642e81e68ccd575de6e3a124ea00ad6c9f578a173a97b
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+3 -1
View File
@@ -128,11 +128,13 @@ process, which runs as UID 200.
This can be adjusted at runtime:
```
$ docker run -d -p 8081:8081 --name nexus -e INSTALL4J_ADD_VM_PARAMS="-Xms2g -Xmx2g -XX:MaxDirectMemorySize=3g -Djava.util.prefs.userRoot=/some-other-dir" sonatype/nexus3
$ docker run -d -p 8081:8081 --name nexus -e INSTALL4J_ADD_VM_PARAMS="-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/some-other-dir" sonatype/nexus3
```
Of particular note, `-Djava.util.prefs.userRoot=/some-other-dir` can be set to a persistent path, which will maintain
the installed Nexus Repository License if the container is restarted.
Be sure to check the [memory requirements](https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-MemoryRequirements) when deciding how much heap and direct memory to allocate.
* Another environment variable can be used to control the Nexus Context Path