Add go toolchain required for go builder [gemnasium only] [sbomgen-golang only]

What does this MR do?

Determining the final list of modules used in a Go project via the golang.org/x/tools/go/packages package requires running the go build tool. This tool requires the entire Go toolchain to be installed for it to function correctly. This MR adds the Go toolchain to the gemnasium and sbomgen-golang images which is required by the rest of the MRs in the stack.

Merge Request Stack

This MR is a member of a merge request stack. A merge request stack groups changes that are related.

  1. Add go toolchain required for go builder [gemna... (!389 - merged) You are currently viewing this entry
  2. Create go builder [gemnasium only] (!390 - merged)
  3. Handle go-project-modules.json file parsing [ge... (!391 - merged)
  4. Add golang builder to gemnasium and sbomgen-gol... (!392 - merged)

What are the relevant issue numbers?

Incorrect usage of go.sum in go dependency scan... (gitlab-org/gitlab#321081 - closed)

Does this MR meet the acceptance criteria?

Edited by Oscar Tovar

Merge request reports

Loading