From bad2384f8caf23260a79f2e02fa0037f1922c987 Mon Sep 17 00:00:00 2001 From: imikod Date: Wed, 1 Nov 2023 01:32:20 +0200 Subject: [PATCH] Update Dockerfile to use Go 1.21 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 393ce4c..fc71302 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.3-alpine3.16 as Builder +FROM golang:1.21.3-alpine3.18 as Builder WORKDIR /go/src/cybertron COPY . . @@ -11,10 +11,10 @@ RUN go build \ -o /go/bin/cybertron \ ./cmd/server -FROM alpine:3.16 +FROM alpine:3.18 COPY --from=Builder /go/bin/cybertron /bin/cybertron ENV GOOS linux ENV GOARCH amd64 -ENTRYPOINT ["/bin/cybertron"] \ No newline at end of file +ENTRYPOINT ["/bin/cybertron"]