Skip to content

Commit

Permalink
pref: changed image from alpine to scratch
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Jul 12, 2023
1 parent 6dbdac9 commit df8e2fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ RUN apk update && \
# Build Go binary
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o kyverno-notation-aws .

FROM amd64/alpine:3.18
FROM scratch
WORKDIR /

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

# Notation home
ENV PLUGINS_DIR=/plugins

Expand Down

0 comments on commit df8e2fc

Please sign in to comment.