From 9e559d15608955b0a990f51b709ed90974adcecb Mon Sep 17 00:00:00 2001 From: Bijan Haney Date: Thu, 5 Sep 2024 13:59:11 -0400 Subject: [PATCH 1/2] update go version --- go.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 5f54ea3..ffdbdc5 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/viamrobotics/ocean-prefilter -go 1.21.7 - -toolchain go1.21.12 +go 1.21.13 require ( github.com/Elvenson/xgboost-go v0.1.4 From 2b3ae1df2ff7797dcba82edad6e10d3ac30aae44 Mon Sep 17 00:00:00 2001 From: Bijan Haney Date: Thu, 5 Sep 2024 14:10:01 -0400 Subject: [PATCH 2/2] update dockerfile with new go version --- etc/Dockerfile.debian.bookworm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/Dockerfile.debian.bookworm b/etc/Dockerfile.debian.bookworm index b9e616c..4830d5a 100644 --- a/etc/Dockerfile.debian.bookworm +++ b/etc/Dockerfile.debian.bookworm @@ -43,11 +43,11 @@ RUN mkdir -p /root/opt/src # install Go RUN if [ "$BASE_TAG" = "amd64" ]; then \ - wget https://go.dev/dl/go1.21.9.linux-amd64.tar.gz && \ - tar -C /usr/local -xzf go1.21.9.linux-amd64.tar.gz; \ + wget https://go.dev/dl/go1.21.13.linux-amd64.tar.gz && \ + tar -C /usr/local -xzf go1.21.13.linux-amd64.tar.gz; \ elif [ "$BASE_TAG" = "arm64" ]; then \ - wget https://go.dev/dl/go1.21.9.linux-arm64.tar.gz && \ - tar -C /usr/local -xzf go1.21.9.linux-arm64.tar.gz; \ + wget https://go.dev/dl/go1.21.13.linux-arm64.tar.gz && \ + tar -C /usr/local -xzf go1.21.13.linux-arm64.tar.gz; \ else \ echo "Unsupported architecture $BASE_TAG"; \ exit 1; \