Skip to content

Commit 8c87555

Browse files
authored
build: pin Docker builder to Go 1.26.2
Pin the Docker builder to the Go 1.26.2 bookworm multi-arch digest and install ICU build/runtime libraries required by the current dependency graph. Full arm64 and amd64 image builds, initialization, dynamic-library checks, and version checks passed locally. Keep this infrastructure change independent from PR #480.
1 parent cbd566f commit 8c87555

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Step 1: Build stage
2-
FROM --platform=${BUILDPLATFORM} golang:1.24.12-bookworm@sha256:322a794c4289ad86e3043e5d9f16ead790463658a1bd2c3983427f02983ab978 AS builder
2+
FROM --platform=${BUILDPLATFORM} golang:1.26.2-bookworm@sha256:47ce5636e9936b2c5cbf708925578ef386b4f8872aec74a67bd13a627d242b19 AS builder
33

44
ARG TARGETOS
55
ARG TARGETARCH
@@ -14,7 +14,7 @@ WORKDIR /app
1414

1515
# Install build dependencies
1616
RUN apt-get update && \
17-
apt-get install -y debian-archive-keyring curl unzip \
17+
apt-get install -y debian-archive-keyring curl unzip libicu-dev \
1818
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
1919
--no-install-recommends && \
2020
rm -rf /var/lib/apt/lists/*
@@ -71,6 +71,7 @@ LABEL org.opencontainers.image.source="${SOURCE_REPOSITORY}" \
7171
RUN apt-get update && apt-get install -y debian-archive-keyring \
7272
&& apt-get update && apt-get install -y \
7373
libssh-4 \
74+
libicu72 \
7475
python3 python3-pip \
7576
postgresql-client \
7677
--no-install-recommends \

0 commit comments

Comments
 (0)