From d63da674fdb46448846c3e9cec717b471b9c0b56 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Fri, 1 Sep 2023 23:01:45 +0200 Subject: [PATCH] chore: add ca-certs from alpine image --- release/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release/Dockerfile b/release/Dockerfile index abd8f05..741d5ea 100644 --- a/release/Dockerfile +++ b/release/Dockerfile @@ -1,8 +1,8 @@ -FROM debian:bookworm-slim -RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ - ca-certificates && \ - rm -rf /var/lib/apt/lists/* +FROM alpine:3.18 as alpine +RUN apk add -U --no-cache ca-certificates +FROM scratch WORKDIR /app +COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY ntfy-bridge /app/ntfy-bridge ENTRYPOINT ["/app/ntfy-bridge"]