Compare commits

...

7 Commits

Author SHA1 Message Date
Sonatype fe705c790a Update Repository Manager to 3.33.0-01. 2021-08-04 15:50:51 +00:00
Sonatype 53a7c27b2a Update Repository Manager to 3.32.0-03. 2021-07-08 16:12:20 +00:00
Damian Bradicich d161f2ecab NEXUS-27617: Using new chef recipe that doesn't include java management (#129) 2021-06-28 17:17:01 -04:00
Sonatype 9667680421 Update Repository Manager to 3.31.1-01. 2021-06-23 08:35:40 +00:00
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 26 additions and 19 deletions
+11 -6
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.33.0-01" \
release="3.33.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.33.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=6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
@@ -46,9 +46,9 @@ ENV NEXUS_HOME=${SONATYPE_DIR}/nexus \
NEXUS_DATA=/nexus-data \
NEXUS_CONTEXT='' \
SONATYPE_WORK=${SONATYPE_DIR}/sonatype-work \
DOCKER_TYPE='rh-docker'
DOCKER_TYPE='3x-docker'
ARG NEXUS_REPOSITORY_MANAGER_COOKBOOK_VERSION="release-0.5.20190212-155606.d1afdfe"
ARG NEXUS_REPOSITORY_MANAGER_COOKBOOK_VERSION="release-0.5.20210628-162332.70a6cb6"
ARG NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL="https://github.com/sonatype/chef-nexus-repository-manager/releases/download/${NEXUS_REPOSITORY_MANAGER_COOKBOOK_VERSION}/chef-nexus-repository-manager.tar.gz"
ADD solo.json.erb /var/chef/solo.json.erb
@@ -67,6 +67,11 @@ RUN yum install -y --disableplugin=subscription-manager hostname procps \
&& rm -rf /var/cache/yum \
&& rm -rf /var/chef \
&& yum clean all
# download and install openjdk 8
RUN curl -O https://vault.centos.org/8.3.2011/AppStream/x86_64/os/Packages/java-1.8.0-openjdk-headless-1.8.0.282.b08-2.el8_3.x86_64.rpm \
&& yum localinstall -y --disableplugin=subscription-manager java-1.8.0-openjdk-headless-1.8.0.282.b08-2.el8_3.x86_64.rpm \
&& rm -rf java-1.8.0-openjdk-headless-1.8.0.282.b08-2.el8_3.x86_64.rpm
VOLUME ${NEXUS_DATA}
+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.33.0-01" \
release="3.33.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.33.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=6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8
# 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.33.0-01" \
release="3.33.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.33.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=6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8
# 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.33.0-01" \
release="3.33.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.33.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=6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8
# 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