Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build an instance of Nexus 3 with helm support
FROM maven:3-jdk-8 AS helmkar
ADD https://github.com/sonatype-nexus-community/nexus-repository-helm/archive/master.zip nexus-repository-helm.zip
RUN unzip nexus-repository-helm.zip && cd nexus-repository-helm-master && mvn -PbuildKar clean install
FROM sonatype/nexus3
COPY --from=helmkar nexus-repository-helm-master/target/*.kar $NEXUS_HOME/deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment