host-ctr: upgrade to go 1.19 and bump dependencies #2450
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue number:
Related: #2420
Description of changes:
Since go 1.19 was included in the latest version of the sdk, this patch bumps
host-ctr
to use the go 1.19 build directive. This can be done out of band from updating the actual sdk in use in bottlerocket itself since older versions of Go can still build with newer build directives (as long as no breaking changes exist between those versions):Testing done:
Built an ECS ami and deployed to my ECS cluster. Able to disable and enable host containers on the host and they look to be running:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.