Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6 AS builder
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2 AS builder
ARG TEMP="/tmp/work"
# Build parameters
ARG IQ_SERVER_VERSION=1.203.0-01
Expand Down Expand Up @@ -52,7 +52,7 @@ RUN sha256sum -c nexus-iq-server.tar.gz.sha256 \
&& mv nexus-iq-server-${IQ_SERVER_VERSION}-linux-* nexus-iq-server

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2

ARG IQ_SERVER_VERSION=1.203.0-01
ARG IQ_HOME="/opt/sonatype/nexus-iq-server"
Expand Down Expand Up @@ -124,7 +124,9 @@ RUN echo "trap 'kill -TERM \`cut -f1 -d@ ${SONATYPE_WORK}/lock\`; timeout ${TIME

WORKDIR ${IQ_HOME}

# enabling back support for SHA1 signed certificates
# Re-enable SHA1 certificate support (removed from RHEL 10 default modules).
# Required for Azure PostgreSQL connections using SHA1-signed certificates.
COPY SHA1.pmod /usr/share/crypto-policies/policies/modules/
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile.rh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7 AS builder
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2 AS builder
ARG TEMP="/tmp/work"
# Build parameters
ARG IQ_SERVER_VERSION=1.185.0-01
Expand Down Expand Up @@ -44,7 +44,7 @@ RUN sha256sum -c nexus-iq-server.tar.gz.sha256 \
&& mv nexus-iq-server-${IQ_SERVER_VERSION}-linux-* nexus-iq-server

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2

ARG IQ_SERVER_VERSION=1.185.0-01
ARG IQ_RELEASE
Expand Down Expand Up @@ -127,7 +127,9 @@ RUN echo "trap 'kill -TERM \`cut -f1 -d@ ${SONATYPE_WORK}/lock\`; timeout ${TIME

WORKDIR ${IQ_HOME}

# enabling back support for SHA1 signed certificates
# Re-enable SHA1 certificate support (removed from RHEL 10 default modules).
# Required for Azure PostgreSQL connections using SHA1-signed certificates.
COPY SHA1.pmod /usr/share/crypto-policies/policies/modules/
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6 AS builder
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2 AS builder
ARG TEMP="/tmp/work"
# Build parameters
ARG IQ_SERVER_VERSION=1.203.0-01
Expand Down Expand Up @@ -52,7 +52,7 @@ RUN sha256sum -c nexus-iq-server.tar.gz.sha256 \
&& mv nexus-iq-server-${IQ_SERVER_VERSION}-linux-* nexus-iq-server

# hadolint ignore=DL3026
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2

ARG IQ_SERVER_VERSION=1.203.0-01
ARG IQ_HOME="/opt/sonatype/nexus-iq-server"
Expand Down Expand Up @@ -124,7 +124,9 @@ RUN echo "trap 'kill -TERM \`cut -f1 -d@ ${SONATYPE_WORK}/lock\`; timeout ${TIME

WORKDIR ${IQ_HOME}

# enabling back support for SHA1 signed certificates
# Re-enable SHA1 certificate support (removed from RHEL 10 default modules).
# Required for Azure PostgreSQL connections using SHA1-signed certificates.
COPY SHA1.pmod /usr/share/crypto-policies/policies/modules/
RUN update-crypto-policies --set DEFAULT:SHA1

# This is where we will store persistent data
Expand Down
7 changes: 7 additions & 0 deletions SHA1.pmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SHA1.pmod - Re-enable SHA1 certificate support
# Based on the UBI 9 DEFAULT:SHA1 subpolicy which was removed in RHEL 10.
# Required for Azure PostgreSQL connections using SHA1-signed certificates.

hash = SHA1+

sign = ECDSA-SHA1+ RSA-PSS-SHA1+ RSA-SHA1+