diff --git a/Dockerfile b/Dockerfile index cd0afc1d..5610c57f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1-bullseye AS builder +FROM golang:1-bookworm AS builder WORKDIR /workdir/ COPY . /workdir/ @@ -9,10 +9,9 @@ RUN update-ca-certificates RUN make build -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt-get update \ - && dpkg --configure -a \ && apt-get install -y fonts-noto-cjk \ && apt-get install -y chromium \ && apt-get install -y git \ diff --git a/Dockerfile.slim b/Dockerfile.slim index 8b3921c6..c41d2c94 100644 --- a/Dockerfile.slim +++ b/Dockerfile.slim @@ -1,4 +1,4 @@ -FROM golang:1-bullseye AS builder +FROM golang:1-bookworm AS builder WORKDIR /workdir/ COPY . /workdir/ @@ -9,7 +9,7 @@ RUN update-ca-certificates RUN make build -FROM debian:bullseye-slim +FROM debian:bookworm-slim COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /workdir/runn ./usr/bin