Skip to content

Commit bf4935f

Browse files
Merge pull request #67 from xueli181114/HYPERFLEET-730
HYPERFLEET-730 - fix: copy CA certificates from builder to ubi9-micro runtime
2 parents b6ccc36 + 55062d6 commit bf4935f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ FROM ${BASE_IMAGE}
3737

3838
WORKDIR /app
3939

40+
# ubi9-micro doesn't include CA certificates; copy from builder for TLS (e.g. Google Pub/Sub)
41+
COPY --from=builder /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
4042
COPY --from=builder /build/bin/sentinel /app/sentinel
4143

4244
USER 65532:65532

0 commit comments

Comments
 (0)