From 423c366202468d03709e17df8fd909e0a3928c82 Mon Sep 17 00:00:00 2001 From: Sergiy Markin Date: Fri, 15 Mar 2024 18:47:51 +0000 Subject: [PATCH] Update CA certificates Change-Id: Ia7ec00c15e1b3142a583aad199bb37716bc003dc --- images/armada-operator/Dockerfile.ubuntu_focal | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/armada-operator/Dockerfile.ubuntu_focal b/images/armada-operator/Dockerfile.ubuntu_focal index 66fe34e..4f145c0 100644 --- a/images/armada-operator/Dockerfile.ubuntu_focal +++ b/images/armada-operator/Dockerfile.ubuntu_focal @@ -29,6 +29,13 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma # NOTE: distroless has been switched to alpine #FROM gcr.io/distroless/static:nonroot FROM ${FROM} + +# Install CA certificates +RUN apt-get update && \ + apt-get install -y ca-certificates +# Update CA certificates +RUN update-ca-certificates + WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532