While reading Scaling acceptance tests, I tried building a docker image using the Dockerfile as the one in the book and failed to do so.
Then I realized I was using Go version >= 1.22.0 on my machine and that was the main problem.
Although I don't think it would be a good idea to change the Go version used in the book(because everyone has her/his own favorite Go version), I think at least it would be good to mention it so that a reader could modify her/his own Dockerfile with the Go version installed on her/his machine.
While reading Scaling acceptance tests, I tried building a docker image using the
Dockerfile
as the one in the book and failed to do so.Then I realized I was using Go version >= 1.22.0 on my machine and that was the main problem.
Although I don't think it would be a good idea to change the Go version used in the book(because everyone has her/his own favorite Go version), I think at least it would be good to mention it so that a reader could modify her/his own
Dockerfile
with the Go version installed on her/his machine.