Update support for Amazon Linux 2 #8425
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.
Amazon Linux 2 support is broken with Docker packages for CentOS, because of the missing
container-selinux
dependency. Even if this is added from the CentOS repo, it is missing its own dependencies. Sadly, this is not something that can be easily fixed.The good news is that Amazon Linux 2 has SELinux disabled by default, so the
container-selinux
package is not needed. Static binaries for containerd or Docker should run just fine.#8199 adds support for static binaries for latest containerd and can be used to setup a Kubernetes cluster on Amazon Linux 2 with minor changes.
This PR adds the following changes:
container-selinux