Skip to content

Commit

Permalink
chore(Dockerfile): update base images to bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Feb 12, 2025
1 parent 41b214a commit a01f02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1-bullseye AS builder
FROM golang:1-bookworm AS builder

WORKDIR /workdir/
COPY . /workdir/
Expand All @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1-bullseye AS builder
FROM golang:1-bookworm AS builder

WORKDIR /workdir/
COPY . /workdir/
Expand All @@ -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
Expand Down

0 comments on commit a01f02d

Please sign in to comment.