diff --git a/Dockerfile b/Dockerfile index cbac843..8919dad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre # https://help.sonatype.com/repomanager3/download/download-archives---repository-manager-3 # nexus -ENV NEXUS_VERSION "3.31.0-01" +ENV NEXUS_VERSION "3.33.1-01" ENV NEXUS_DOWNLOAD_URL "https://download.sonatype.com/nexus/3" ENV NEXUS_TARBALL_URL "${NEXUS_DOWNLOAD_URL}/nexus-${NEXUS_VERSION}-unix.tar.gz" ENV NEXUS_TARBALL_ASC_URL "${NEXUS_DOWNLOAD_URL}/nexus-${NEXUS_VERSION}-unix.tar.gz.asc" diff --git a/README.md b/README.md index ebc70a5..2455a33 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # docker-nexus + A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Linux. [![Docker Repository on Quay](https://quay.io/repository/travelaudience/docker-nexus/status "Docker Repository on Quay")](https://quay.io/repository/travelaudience/docker-nexus) @@ -7,15 +8,14 @@ A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Lin * Alpine Linux 3.12 * OpenJDK JRE 8u212 -* Nexus Repository Manager OSS 3.31.0 ([release notes](https://help.sonatype.com/repomanager3/release-notes#ReleaseNotes-NexusRepositoryManager3.31.0)) - +* Nexus Repository Manager OSS 3.33.1 ([release notes](https://help.sonatype.com/repomanager3/release-notes#ReleaseNotes-NexusRepositoryManager3.33.1)) ## Running Running it locally (for the latest tag, check [quay.io/repository/travelaudience/docker-nexus](https://quay.io/repository/travelaudience/docker-nexus?tab=tags): -``` -docker run -p 8081:8081 --name nexus quay.io/travelaudience/docker-nexus:3.31.0 +```shell +docker run -p 8081:8081 --name nexus quay.io/travelaudience/docker-nexus:3.33.1 ``` ## Reasoning @@ -24,11 +24,10 @@ The Official Sonatype Nexus Docker image: https://hub.docker.com/r/sonatype/nexu https://www.sonatype.com/travel-audience-devops-pipeline-solution being able to `restore` from a backup requires stopping the nexus service. And this is not possible with the official image, as described in this bug report: https://issues.sonatype.org/browse/NEXUS-23442 - So while `travel audience` would prefer to support the official image, this is not possible at this time, and we hope that this lightweight image provides a suitable alternative to the community in the meantime. - The travel audience Nexus Docker image provides the following features that are not present in the official image: + * uses `runit` to run nexus under a secondary process * uses an Alpine base image, instead of RedHat's UBI8 * provides an optional flag to make sure all mounted data is owned by the `nexus` user _(nexus will have issues if that's not the case)_