docker: bump debian version to bookworm
Jorropo committed
Aug 18, 2023 at 20:16 UTC
af2bdf1e00bdcdf8f545d8de287c84dfc3ecce5b
1 file changed
+3
-3
Dockerfile
+3
-3
@@ -1,4 +1,4 @@
1
-FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19-buster AS builder
1
+FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19-bookworm AS builder
2
3
ARG TARGETPLATFORM TARGETOS TARGETARCH
4
@@ -24,7 +24,7 @@ RUN cd $SRC_DIR \
24
# Using Debian Buster because the version of busybox we're using is based on it
25
# and we want to make sure the libraries we're using are compatible. That's also
26
# why we're running this for the target platform.
27
-FROM debian:buster-slim AS utilities
27
+FROM debian:bookworm-slim AS utilities
28
RUN set -eux; \
29
apt-get update; \
30
apt-get install -y \
@@ -44,7 +44,7 @@ RUN set -eux; \
44
rm -rf /var/lib/apt/lists/*
45
46
# Now comes the actual target image, which aims to be as small as possible.
47
-FROM busybox:1.31.1-glibc
47
+FROM busybox:1.36.1-glibc
48
49
# Get the ipfs binary, entrypoint script, and TLS CAs from the build container.
50
ENV SRC_DIR /kubo