From fa82a09f0336dada2b68237b8063318d0290b2ec Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 23 Mar 2025 00:17:43 -0400 Subject: [PATCH] Update to go 1.23 and remove dead code --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb25d31..096c394 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ -FROM golang:1.22 AS compile +FROM golang:1.23 AS compile WORKDIR /usr/src/app -# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change -# COPY go.mod go.sum ./ -# RUN go mod download && go mod verify - COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /app ./...