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:
parent
26a5402747
commit
c15ad0c520
3 changed files with 4 additions and 3295 deletions
|
@ -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
|
@ -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"]
|
Loading…
Add table
Reference in a new issue