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 3f71b763e2
commit b1ac7d23d1

View File

@ -21,8 +21,11 @@ RUN apt-get install -y \
wget bash bc gcc-13 cpp-13 sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip \
unzip diffutils lzop make file g++-13 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 \
echo 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse' > /etc/apt/sources.list.d/amd64.list; \