Updated Dockerfile for new desired values.
This commit is contained in:
parent
20d773370e
commit
4c10963267
2 changed files with 8 additions and 8 deletions
|
|
@ -16,8 +16,8 @@ FROM registry.access.redhat.com/ubi8/ubi:8.0
|
|||
|
||||
LABEL name="Nexus Repository Manager" \
|
||||
vendor=Sonatype \
|
||||
version="3.18.0-01" \
|
||||
release="3.18.0" \
|
||||
version="3.30.1-01" \
|
||||
release="3.30.1" \
|
||||
url="https://sonatype.com" \
|
||||
summary="The Nexus Repository Manager server \
|
||||
with universal support for popular component formats." \
|
||||
|
|
@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
|
|||
io.openshift.tags="Sonatype,Nexus,Repository Manager"
|
||||
|
||||
|
||||
ARG NEXUS_VERSION=3.18.0-01
|
||||
ARG NEXUS_VERSION=3.30.1-01
|
||||
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
|
||||
ARG NEXUS_DOWNLOAD_SHA256_HASH=e1d9d84d8b169b2f6c735e7db35e3310cf9e242da12b4af83da4e3618acfc99e
|
||||
ARG NEXUS_DOWNLOAD_SHA256_HASH=527c5ba75ffeb4400d553cb1e9885ae3c914ff2642724c8752f75bdf79cfe411
|
||||
|
||||
# configure nexus runtime
|
||||
ENV SONATYPE_DIR=/opt/sonatype
|
||||
|
|
@ -73,7 +73,7 @@ VOLUME ${NEXUS_DATA}
|
|||
EXPOSE 8081
|
||||
USER nexus
|
||||
|
||||
ENV INSTALL4J_ADD_VM_PARAMS="-Xms1200m -Xmx1200m -XX:MaxDirectMemorySize=2g -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs"
|
||||
ENV INSTALL4J_ADD_VM_PARAMS="-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs"
|
||||
|
||||
ENTRYPOINT ["/uid_entrypoint.sh"]
|
||||
CMD ["sh", "-c", "${SONATYPE_DIR}/start-nexus-repository-manager.sh"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
This Dockerfile is a combination of the two Dockerfiles (locked at the commit):
|
||||
This Dockerfile is a combination of the two Dockerfiles:
|
||||
|
||||
* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile
|
||||
* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile.rh.el
|
||||
* https://github.com/sonatype/docker-nexus3/blob/3.30.1/Dockerfile
|
||||
* https://github.com/sonatype/docker-nexus3/blob/3.30.1/Dockerfile.rh.el
|
||||
|
||||
Both Dockerfiles use Chef recipes to install Nexus. These Chef recipes are
|
||||
downloaded during the build by the Dockerfile.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue