fix: use bookworm

This commit is contained in:
Bastien Riviere 2023-09-01 21:54:34 +02:00
parent 0d7b4655e4
commit 98563d75b5
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -1,4 +1,4 @@
FROM golang:1.21-buster as builder
FROM golang:1.21-bookworm as builder
WORKDIR /app
@ -9,7 +9,7 @@ COPY . ./
RUN go build -v -o ntfy-bridge
FROM debian:buster-slim
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/*