| LABEL name=Nexus Repository Manager maintainer=Sonatype <support@sonatype.com> vendor=Sonatype version=3.29.2-02 release=3.29.2 url=https://sonatype.com summary=The Nexus Repository Manager server with universal support for popular component formats. description=The Nexus Repository Manager server with universal support for popular component formats. run=docker run -d --name NAME -p 8081:8081 IMAGE stop=docker stop NAME com.sonatype.license=Apache License, Version 2.0 com.sonatype.name=Nexus Repository Manager base image io.k8s.description=The Nexus Repository Manager server with universal support for popular component formats. io.k8s.display-name=Nexus Repository Manager io.openshift.expose-services=8081:8081 io.openshift.tags=Sonatype,Nexus,Repository Manager |
| ARG NEXUS_VERSION=3.29.2-02 |
| ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-3.29.2-02-unix.tar.gz |
| ARG NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7 |
| ENV SONATYPE_DIR=/opt/sonatype |
| ENV NEXUS_HOME=/opt/sonatype/nexus NEXUS_DATA=/nexus-data NEXUS_CONTEXT= SONATYPE_WORK=/opt/sonatype/sonatype-work DOCKER_TYPE=rh-docker |
| ARG NEXUS_REPOSITORY_MANAGER_COOKBOOK_VERSION=release-0.5.20190212-155606.d1afdfe |
| ARG NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL=https://github.com/sonatype/chef-nexus-repository-manager/releases/download/release-0.5.20190212-155606.d1afdfe/chef-nexus-repository-manager.tar.gz |
| ADD file:96a8726e4f3ee18b65140cf1dfb4845d98d454ceb2c45fbd846c57e32a5a2ed2 in /var/chef/solo.json.erb |
| |5 NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-3.29.2-02-unix.tar.gz NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL=https://github.com/sonatype/chef-nexus-repository-manager/releases/download/release-0.5.20190212-155606.d1afdfe/chef-nexus-repository-manager.tar.gz NEXUS_REPOSITORY_MANAGER_COOKBOOK_VERSION=release-0.5.20190212-155606.d1afdfe NEXUS_VERSION=3.29.2-02 /bin/sh -c yum install -y --disableplugin=subscription-manager hostname procps && curl -L https://www.getchef.com/chef/install.sh | bash -s -- -v 14.12.9 && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json && chef-solo --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} --json-attributes /var/chef/solo.json && rpm -qa *chef* | xargs rpm -e && rm -rf /etc/chef && rm -rf /opt/chefdk && rm -rf /var/cache/yum && rm -rf /var/chef && yum clean all |
| VOLUME [/nexus-data] |
| EXPOSE 8081 |
| USER nexus |
| ENV INSTALL4J_ADD_VM_PARAMS=-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs |
| CMD ["sh" "-c" "${SONATYPE_DIR}/start-nexus-repository-manager.sh"] |