Cloud-builders: go: selecting the version of Go to build with?

Created on 17 Mar 2017  路  4Comments  路  Source: GoogleCloudPlatform/cloud-builders

It would be great if there was some way to specify the Go release to use to build a container. As far as I can tell, this is not controllable. This is not a critical issue for us at the moment, but at some point we will want to control when we upgrade between major releases. I don't have a good idea for how this should work, although maybe having a GO_VERSION variable would work, although you would then need to ship all the versions in your base image. Alternatively, maybe you need to replicate all the tags from the upstream golang Docker image?

Most helpful comment

Thank you for the feedback. In the coming week, we'll look to clarify the versions available like we've done with the Docker builder; you'll likely specify your desired version via tag rather than an envvar.

Does that sound like it will meet your needs?

All 4 comments

Thank you for the feedback. In the coming week, we'll look to clarify the versions available like we've done with the Docker builder; you'll likely specify your desired version via tag rather than an envvar.

Does that sound like it will meet your needs?

Yes, definitely: Having the upstream golang image tags available would definitely work. Thanks!

But you can't use version number, any reason for that?

closing as obsolete; see https://github.com/GoogleCloudPlatform/cloud-builders/issues/677

note that golang lets you specify version by tag

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxpaynestory picture maxpaynestory  路  7Comments

jredl-va picture jredl-va  路  3Comments

larssb picture larssb  路  6Comments

namtzigla picture namtzigla  路  3Comments

cove picture cove  路  7Comments