From e5e99fcd0567d6ff393cfed5d1b78105efa807c4 Mon Sep 17 00:00:00 2001 From: Oleksandr Novak Date: Mon, 30 Dec 2024 13:04:57 +0100 Subject: [PATCH] update to golang 1.23 --- Dockerfile | 4 ++-- go.mod | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94d7ffd..92fc5a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.22.0 +FROM golang:1.23.0 COPY . /sources WORKDIR /sources RUN go build -ldflags "-s" -o run ./cmd -FROM golang:1.22.0 +FROM golang:1.23.0 COPY --from=0 /sources/run /app/run WORKDIR /app ENTRYPOINT ["/app/run"] diff --git a/go.mod b/go.mod index eae9616..b357d68 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module github.com/SPSCommerce/kube-hpa-scale-to-zero -go 1.22.0 +go 1.23.0 + toolchain go1.23.4 require (