Skip to content

Commit cf4ab82

Browse files
committed
fix: use openssl from Builder container to avoid run container dnf call
Signed-off-by: Doug Edgar <[email protected]>
1 parent e75b7be commit cf4ab82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
3636
WORKDIR /
3737
COPY --from=builder /workspace/manager .
3838
COPY --from=builder /workspace/controllers/manifests ./manifests/
39-
RUN microdnf install -y openssl && microdnf clean all
39+
COPY --from=builder /usr/bin/openssl /usr/bin/openssl
40+
COPY --from=builder /lib64/libssl.so.3 /lib64/libssl.so.3
41+
COPY --from=builder /lib64/libcrypto.so.3 /lib64/libcrypto.so.3
4042
USER 1001
4143

4244
ENTRYPOINT ["/manager"]

0 commit comments

Comments
 (0)