Skip to content

Commit e293295

Browse files
authored
Fixes CA certs
1 parent fe0d755 commit e293295

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN --mount=type=secret,id=activation_key,env=ACTIVATION_KEY \
1414
then apk add nfs-utils; \
1515
else subscription-manager register --activationkey $ACTIVATION_KEY --org $ORGANIZATION && \
1616
yum install --repo=rhel-9-*-baseos-rpms -y nfs-utils; \
17+
# Copy real certificates
18+
mkdir /real-certs; \
19+
cp -L /etc/ssl/certs/* /real-certs/; \
1720
fi
1821

1922
# Get the mount.nfs4 dependency
@@ -31,7 +34,7 @@ COPY --from=deps /sbin/mount.nfs /sbin/mount.nfs4 /sbin/
3134
COPY --from=deps /etc/netconfig /etc/
3235
COPY --from=deps /nfs-deps/ /
3336

34-
COPY --from=deps /etc/ssl/certs/ /etc/ssl/certs/
37+
COPY --from=deps /real-certs/ /etc/ssl/certs/
3538

3639
ARG BIN=trident_orchestrator
3740
ARG CLI_BIN=tridentctl

0 commit comments

Comments
 (0)