Merge pull request #799 from rebortg/T973_go

T973: upgrade go version in dockerfile
This commit is contained in:
Christian Breunig 2024-10-08 07:16:02 +02:00 committed by GitHub
commit b66e95d3f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,8 +270,8 @@ RUN pip install --break-system-packages \
quilt \ quilt \
whois whois
# Go required for validators and vyos-xe-guest-utilities # Go required for telegraf and prometheus exporters build
RUN GO_VERSION_INSTALL="1.21.3" ; \ RUN GO_VERSION_INSTALL="1.23.2" ; \
wget -O /tmp/go${GO_VERSION_INSTALL}.linux-amd64.tar.gz https://go.dev/dl/go${GO_VERSION_INSTALL}.linux-$(dpkg-architecture -qDEB_HOST_ARCH).tar.gz ; \ wget -O /tmp/go${GO_VERSION_INSTALL}.linux-amd64.tar.gz https://go.dev/dl/go${GO_VERSION_INSTALL}.linux-$(dpkg-architecture -qDEB_HOST_ARCH).tar.gz ; \
tar -C /opt -xzf /tmp/go*.tar.gz && \ tar -C /opt -xzf /tmp/go*.tar.gz && \
rm /tmp/go*.tar.gz rm /tmp/go*.tar.gz