This pull request updates the Go base image versions. Images were using a mix of Go versions 1.14 and 1.15, both are no longer supported or receiving important security fixes.
Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release. We fix critical problems, including critical security problems, in supported releases as needed by issuing minor revisions (for example, Go 1.6.1, Go 1.6.2, and so on).
Basically with the latest release earlier this month, only Go version 1.17 and 1.18 are still maintained. This PR upgrades directly to 1.18.
I've tested the build of all images, but not running all the variants. But since Go is a forward-compatible statically typed language this should be fine.
Note that the build of utils/elrond-go-keygenerator fails (also with the older version of Go) as reported in #31 and fix proposed in #32.
This pull request updates the Go base image versions. Images were using a mix of Go versions 1.14 and 1.15, both are no longer supported or receiving important security fixes.
From https://go.dev/doc/devel/release:
Basically with the latest release earlier this month, only Go version 1.17 and 1.18 are still maintained. This PR upgrades directly to 1.18.
I've tested the build of all images, but not running all the variants. But since Go is a forward-compatible statically typed language this should be fine.
Note that the build of
utils/elrond-go-keygenerator
fails (also with the older version of Go) as reported in #31 and fix proposed in #32.