From 9ba220eefcb64c16701ebd39dd81659797e054de Mon Sep 17 00:00:00 2001 From: h0n9 Date: Tue, 26 Nov 2024 20:16:28 +0900 Subject: [PATCH] chore: Bump golang version to 1.23 --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea3ab6c..9e25065 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # builder -FROM golang:1.20.4-alpine3.17 AS builder +FROM golang:1.23.3-alpine3.20 AS builder WORKDIR /usr/src/app COPY go.mod go.sum ./ RUN go mod download @@ -14,7 +14,7 @@ COPY relayer/ relayer/ RUN go build ./cmd/msg-lake # runner -FROM alpine:3.17.3 AS runner +FROM alpine:3.20 AS runner WORKDIR /usr/bin/app RUN addgroup --system app && adduser --system --shell /bin/false --ingroup app app COPY --from=builder /usr/src/app/msg-lake . diff --git a/go.mod b/go.mod index 6d63031..6c2069e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/h0n9/msg-lake -go 1.20 +go 1.23 require ( github.com/libp2p/go-libp2p v0.32.0