upgrade to go 1.19

This commit is contained in:
Rui Lopes 2022-12-03 10:18:14 +00:00
parent ad6057558b
commit 79146970ab
1 changed files with 2 additions and 2 deletions

View File

@ -61,10 +61,10 @@ EOF
cat >go.mod <<'EOF'
module example.com/go-hello
go 1.18
go 1.19
EOF
cat >Dockerfile <<'EOF'
FROM golang:1.18-bullseye as builder
FROM golang:1.19-bullseye as builder
WORKDIR /app
COPY go.* main.go ./
RUN CGO_ENABLED=0 go build -ldflags="-s"