upgrade to go 1.20

This commit is contained in:
Rui Lopes
2023-03-11 15:49:54 +00:00
parent a248008590
commit cb258369b8
+2 -2
View File
@@ -61,10 +61,10 @@ EOF
cat >go.mod <<'EOF'
module example.com/go-hello
go 1.19
go 1.20
EOF
cat >Dockerfile <<'EOF'
FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder
WORKDIR /app
COPY go.* main.go ./
RUN CGO_ENABLED=0 go build -ldflags="-s"