Install ca-certs with --no-cache to reduce image size

This commit is contained in:
Frederik Ring 2022-02-25 08:54:07 +01:00
parent 3bbeba5b83
commit 5ec2b2c3ff

View File

@ -14,7 +14,7 @@ FROM alpine:3.15
WORKDIR /root WORKDIR /root
RUN apk add --update ca-certificates RUN apk add --update --no-cache ca-certificates
COPY --from=builder /app/cmd/backup/backup /usr/bin/backup COPY --from=builder /app/cmd/backup/backup /usr/bin/backup