Public | Automated Build

Last pushed: 10 months ago
Short Description
Short description is empty for this repo.
Full Description

Docker nexus

nexus container

Dockerhub: thstangenberg/nexus

Features

Exposed volumes

  • /nexus-work

Exposed ports

  • 22 / SSH
  • 9000 / HTTP

Environment Variables

  • NEXUS_VERSION - contains the installed nexus version
  • MAX_HEAP - maximal heap for the jvm, default 1g
  • MIN_HEAP - minimal heap for the jvm, default 256m
  • JAVA_OPTS - java options for the jvm, default -server -Djava.net.preferIPv4Stack=true
  • NEXUS_APPLICATION_HOST 0.0.0.0
  • NEXUS_APPLICATION_PORT 9000
  • NEXUS_WORK /nexus-work
  • NEXUS_CONTEXT_PATH /

Usage

Run nexus repository as docker container.

docker run --name="nexus" -p 9000:9000 thstangenberg/nexus

Build

Make is used as build system.

  • make / starts normal docker build.
  • make run / build and run the container. This uses nexus as container name and automatically stops a running container with an equal name beforehand.
  • make bash / build, run the container and start a bash prompt.
  • make ncbuild / normal build without using the docker cache ( --no-cache ).

Docker Build Reference https://docs.docker.com/reference/builder/

License

Published under the MIT License

Docker Pull Command
Owner
thstangenberg
Source Repository

Comments (0)