1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 10:28:36 +00:00

chore: remove ca-certificates from our repository (#3859)

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-05-12 13:41:45 +02:00 committed by GitHub
parent 26a5402747
commit c15ad0c520
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3295 deletions

View file

@ -16,6 +16,8 @@ RUN export GOOS=$(echo ${TARGETPLATFORM} | cut -d / -f1) && \
RUN go env
RUN apk add --no-cache ca-certificates
RUN CGO_ENABLED=0 go build -o /output/kyverno -ldflags="${LD_FLAGS}" -v ./cmd/kyverno/
# Packaging stage

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
FROM scratch
FROM golang:alpine
ADD kyverno /kyverno
ADD ca-certificates.crt /etc/ssl/certs/
RUN apk add --no-cache ca-certificates
USER 10001
ENTRYPOINT ["/kyverno"]