Dockerfile: Use Go 1.20 by default (#550)

Use Go 1.20 by default in Dockerfile

Updating the default Go version used in the Dockerfile, to the latest
one supported by the project at the moment.

Also, Go `1.17` support was removed in
9f1fe62e05
This commit is contained in:
Michael Manganiello 2023-05-11 13:23:58 -03:00 committed by GitHub
parent e837849d44
commit eecf529138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Default to Go 1.17 # Default to Go 1.20
ARG GO_VERSION=1.17 ARG GO_VERSION=1.20
FROM golang:${GO_VERSION}-alpine as build FROM golang:${GO_VERSION}-alpine as build
# Necessary to run 'go get' and to compile the linked binary # Necessary to run 'go get' and to compile the linked binary