chore: add ca-certs from alpine image
This commit is contained in:
parent
63b5b254c2
commit
d63da674fd
1 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue