tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.49k stars 913 forks source link

docker: wrong Go-version with tinygo 0.32.0 #4594

Closed perttierkkila closed 2 hours ago

perttierkkila commented 1 week ago

It seems that Go 1.23 is shipped inside container even tinygo doesn't support it.

Using docker image sha256:dd25267fab113b996ca90278cb52e0c9ba1f0566bc925d14d4b6c94118f8d594 for tinygo/tinygo:0.32.0 with digest tinygo/tinygo@sha256:13c736477460fcf6025168da9c6a48f63985230e2f0f9fa30f3411fece3781f5 ... $ tinygo version tinygo version 0.32.0 linux/amd64 (using go version go1.23.0 and LLVM version 18.1.2) $ tinygo build ... error: requires go version 1.19 through 1.22, got go1.23

perttierkkila commented 2 hours ago

This was my error, go.mod contained row go 1.23. Docker images are correct.