Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'sonatype:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
madpah authored Jul 10, 2024
2 parents bc200bb + 004a599 commit a3778a5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
FROM registry.access.redhat.com/ubi9/openjdk-17:1.20-2

# Build parameters
ARG IQ_SERVER_VERSION=1.178.0-06
ARG IQ_SERVER_SHA256=d6f72c8754090f3a80e512a96ce106acca48bc0c66bb495b1e0a3f5515f6e095
ARG IQ_SERVER_VERSION=1.179.0-01
ARG IQ_SERVER_SHA256=dbd42966ec944ffb13135392e64b5b240fe178951c54842076e2d76f8ce6c8a1
ARG TEMP="/tmp/work"
ARG IQ_HOME="/opt/sonatype/nexus-iq-server"
ARG SONATYPE_WORK="/sonatype-work"
Expand All @@ -33,7 +33,7 @@ LABEL name="Nexus IQ Server image" \
maintainer="Sonatype <[email protected]>" \
vendor=Sonatype \
version="${IQ_SERVER_VERSION}" \
release="1.178.0" \
release="1.179.0" \
url="https://www.sonatype.com" \
summary="The Nexus IQ Server" \
description="Nexus IQ Server is a policy engine powered by precise intelligence on open source components. \
Expand Down Expand Up @@ -99,6 +99,9 @@ RUN rm -rf ${TEMP} \
&& chown -R nexus:nexus ${CONFIG_HOME} \
&& chown -R nexus:nexus ${LOGS_HOME}

# enabling back support for SHA1 signed certificates
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
VOLUME ${SONATYPE_WORK}
VOLUME ${LOGS_HOME}
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.rh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ RUN usermod -a -G root nexus \
&& bash /uid_template.sh \
&& chmod 0664 /etc/passwd

# enabling back support for SHA1 signed certificates
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
VOLUME ${SONATYPE_WORK}
VOLUME ${LOGS_HOME}
Expand Down
9 changes: 6 additions & 3 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
FROM registry.access.redhat.com/ubi9/openjdk-17:1.20-2

# Build parameters
ARG IQ_SERVER_VERSION=1.178.0-06
ARG IQ_SERVER_SHA256=d6f72c8754090f3a80e512a96ce106acca48bc0c66bb495b1e0a3f5515f6e095
ARG IQ_SERVER_VERSION=1.179.0-01
ARG IQ_SERVER_SHA256=dbd42966ec944ffb13135392e64b5b240fe178951c54842076e2d76f8ce6c8a1
ARG TEMP="/tmp/work"
ARG IQ_HOME="/opt/sonatype/nexus-iq-server"
ARG SONATYPE_WORK="/sonatype-work"
Expand All @@ -31,7 +31,7 @@ LABEL name="Nexus IQ Server image" \
maintainer="Sonatype <[email protected]>" \
vendor=Sonatype \
version="${IQ_SERVER_VERSION}" \
release="1.178.0" \
release="1.179.0" \
url="https://www.sonatype.com" \
summary="The Nexus IQ Server" \
description="Nexus IQ Server is a policy engine powered by precise intelligence on open source components. \
Expand Down Expand Up @@ -97,6 +97,9 @@ RUN rm -rf ${TEMP} \
&& chown -R nexus:nexus ${CONFIG_HOME} \
&& chown -R nexus:nexus ${LOGS_HOME}

# enabling back support for SHA1 signed certificates
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
VOLUME ${SONATYPE_WORK}
VOLUME ${LOGS_HOME}
Expand Down

0 comments on commit a3778a5

Please sign in to comment.