chore: bump devcontainer to Ubuntu 22.04 to resolve arm64 incompatibility #9245
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.
Pre-flight checklist
Motivation
Cloning Docusaurus into a dev container volume (explained in greater detail here) failed on arm64 devices like my Apple Silicon Mac:
This chore updates the dev container config to 22.04 for arm64 support and switches to the new devcontainers images from the soon-to-be-archived vscode-dev-containers (microsoft/vscode-dev-containers#1762).
Test Plan
Test Plan is a bit tough to provide here since it's essentially an "it didn't work on my machine" situation. It does work on my machine now though ✨
If the maintainers have access to an Apple Silicon Mac or other arm64 machine, you can also verify for yourselves that the new dev container environment works by following Microsoft's guide and cloning my AFRUITPIE/docusaurus fork into a dev container volume.
Related issues/PRs
This issue only took a less time to debug and resolve than it would to create an issue, so I haven't created one. If the maintainers require one, I'm happy to create it.