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
|
FROM alpine:3.18 as alpine
|
||||||
RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
RUN apk add -U --no-cache ca-certificates
|
||||||
ca-certificates && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY ntfy-bridge /app/ntfy-bridge
|
COPY ntfy-bridge /app/ntfy-bridge
|
||||||
ENTRYPOINT ["/app/ntfy-bridge"]
|
ENTRYPOINT ["/app/ntfy-bridge"]
|
||||||
|
|
Loading…
Reference in a new issue