Skip to content

Commit

Permalink
Update nexus to 3.33.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyStoyanov authored and cmoroianu1 committed Aug 27, 2021
1 parent 8491051 commit 8a88292
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand All @@ -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)_

0 comments on commit 8a88292

Please sign in to comment.