Update CA certificates

Change-Id: Ia7ec00c15e1b3142a583aad199bb37716bc003dc
This commit is contained in:
Sergiy Markin 2024-03-15 18:47:51 +00:00
parent 16b2953b21
commit 423c366202

View File

@ -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