From 08d8c3aaf98097f9dabfd68a35e944057696522e Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Wed, 11 Sep 2024 15:40:38 -0700 Subject: [PATCH] chore: upgrade to go 1.23 --- .github/actions/copy-assets/Dockerfile | 2 +- deploy/okteto/okteto-v2.Dockerfile | 2 +- deploy/okteto/okteto.Dockerfile | 2 +- hack/dev/skaffoldcache.Dockerfile | 4 ++-- kurl_proxy/go.mod | 4 +--- kurl_proxy/okteto.Dockerfile | 2 +- kurl_proxy/skaffold.Dockerfile | 2 +- 7 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/actions/copy-assets/Dockerfile b/.github/actions/copy-assets/Dockerfile index 5ae63d6592..b3fe48ea31 100644 --- a/.github/actions/copy-assets/Dockerfile +++ b/.github/actions/copy-assets/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 as builder +FROM golang:1.23 as builder WORKDIR /action COPY . /action diff --git a/deploy/okteto/okteto-v2.Dockerfile b/deploy/okteto/okteto-v2.Dockerfile index 2a3582de3f..9abe88103d 100644 --- a/deploy/okteto/okteto-v2.Dockerfile +++ b/deploy/okteto/okteto-v2.Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.3 -FROM golang:1.22 +FROM golang:1.23 EXPOSE 2345 diff --git a/deploy/okteto/okteto.Dockerfile b/deploy/okteto/okteto.Dockerfile index 93ea65e83e..42df698b54 100644 --- a/deploy/okteto/okteto.Dockerfile +++ b/deploy/okteto/okteto.Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.3 -FROM golang:1.22-bookworm as builder +FROM golang:1.23-bookworm as builder EXPOSE 2345 diff --git a/hack/dev/skaffoldcache.Dockerfile b/hack/dev/skaffoldcache.Dockerfile index a0bc55fcfd..62b8bb3d92 100644 --- a/hack/dev/skaffoldcache.Dockerfile +++ b/hack/dev/skaffoldcache.Dockerfile @@ -1,6 +1,6 @@ -FROM golang:1.22 as deps +FROM golang:1.23 as deps -RUN go install github.com/go-delve/delve/cmd/dlv@v1.22.1 +RUN go install github.com/go-delve/delve/cmd/dlv@v1.23.0 ENV PROJECTPATH=/go/src/github.com/replicatedhq/kots WORKDIR $PROJECTPATH diff --git a/kurl_proxy/go.mod b/kurl_proxy/go.mod index 52ff695b34..08f9967a8a 100644 --- a/kurl_proxy/go.mod +++ b/kurl_proxy/go.mod @@ -1,8 +1,6 @@ module github.com/replicatedhq/kots/kurl_proxy -go 1.22.0 - -toolchain go1.22.2 +go 1.23.0 require ( github.com/gin-gonic/gin v1.10.0 diff --git a/kurl_proxy/okteto.Dockerfile b/kurl_proxy/okteto.Dockerfile index 842b98b820..4a4b66c593 100644 --- a/kurl_proxy/okteto.Dockerfile +++ b/kurl_proxy/okteto.Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.3 -FROM golang:1.22-bookworm +FROM golang:1.23-bookworm ENV PROJECTPATH=/go/src/github.com/replicatedhq/kots/kurl_proxy WORKDIR $PROJECTPATH diff --git a/kurl_proxy/skaffold.Dockerfile b/kurl_proxy/skaffold.Dockerfile index c8d3ec5229..5da23c9272 100644 --- a/kurl_proxy/skaffold.Dockerfile +++ b/kurl_proxy/skaffold.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm +FROM golang:1.23-bookworm ENV PROJECTPATH=/go/src/github.com/replicatedhq/kots/kurl_proxy WORKDIR $PROJECTPATH