tools/docker/noble: update to building with go-1.23

This commit is contained in:
Rudi Heitbaum 2025-02-12 04:04:03 +00:00
parent 3de9c841d1
commit b1b0c47e3f

View File

@ -21,8 +21,11 @@ RUN apt-get install -y \
curl bash bc gcc-14 cpp-14 sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip \
unzip diffutils lzop make file g++-14 xfonts-utils xsltproc default-jre-headless python3 \
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl rdfind \
golang-go git openssh-client rsync \
--no-install-recommends
golang-1.23-go git openssh-client rsync \
--no-install-recommends \
&& ln -s /usr/lib/go-1.23 /usr/lib/go \
&& ln -s /usr/lib/go-1.23/bin/go /usr/bin/go \
&& ln -s /usr/lib/go-1.23/bin/gofmt /usr/bin/gofmt
RUN if [ "$(uname -m)" = "aarch64" ]; then \
apt-get install -y libc6-amd64-cross qemu-user-binfmt --no-install-recommends; \