Repository navigation
Move Android devcontainer to Ubuntu 26.04 - #136379
Merged
Merged
Conversation
Update only the two Android base image selectors to 11.0-resolute. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6cfcbeee-ea04-433c-aed4-4fe00fafc5d7
|
Azure Pipelines: Successfully started running 1 pipeline(s). 15 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
vcsjones
approved these changes
Oct 23, 2026
jkoritzinsky
approved these changes
Oct 23, 2026
akoeplinger
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Move only the Android devcontainer's Dockerfile default and
build.args.VARIANTfrom8.0-nobleto the publishedmcr.microsoft.com/devcontainers/dotnet:11.0-resoluteUbuntu 26.04 image.This addresses the Android devcontainer portion of D1 in #136313, not the separate Android Helix VM/queue migration. It does not close the tracking issue or complete all of D1.
Android NDK r27c, command-line SDK
13114758_latest, API level 35, build tools 35.0.0, the x86_64 system image selection and both archive SHA-256 checksums are unchanged. Packages (including OpenJDK 17), features, developer user/settings, lifecycle hooks, KVM configuration and repository SDK/framework pins are also unchanged. The newer base changes the image's bootstrap SDK; the repository-pinned.dotnetPATH precedence is retained. No package/setup workaround is included.Validation
Passed static checks:
node "$EVIDENCE_DIR/validate-config.cjs"— passed. The external validation script parses JSONC and compares the complete configuration and Dockerfile with the original HEAD, asserting that only the two approved base selections changed and that exactly those two tracked files differ.EVIDENCE_DIRrefers to the retained local session evidence directory; this script is not added to the repository.bash -n .devcontainer/scripts/onCreateCommand.sh .devcontainer/scripts/postCreateCommand.sh .devcontainer/android/postStartCommand.sh— passed.git diff --check— passed.Before building, the published base's Linux AMD64 manifest was verified as
sha256:5ca289aefffd9a753687cfae8ea5c253a806b4e07dc27b54d088faed1fac69e8(multi-platform indexsha256:e6f76375a860ad18bbc54f748d78406395af240cae0453030c12adf1bfe8142f). A disposable base-only container reported Ubuntu 26.04.1 andamd64; this was not a completed Android devcontainer smoke test.Attempted the actual configured feature-enabled image build on an ARM64 Mac using Docker Desktop 4.47.0 Linux AMD64 emulation, not native x64 or ARM64 validation:
Result: failed, exit 1. Package setup, including OpenJDK 17, both pinned archive checksum checks, NDK extraction, SDK license acceptance and platform-tools/API 35/build-tools 35.0.0 installation completed. The build then failed committing the x86_64 system-image layer with Docker BuildKit storage/metadata I/O errors:
No complete feature-enabled image was produced; KVM group setup and feature installation stages were not reached. No devcontainer startup, lifecycle execution, Java/NDK runtime or compiler smoke, shared-library smoke, emulator/AVD execution, KVM validation or full Android product build coverage was established. Destructive/heavy/emulator hooks were inspected but not invoked. No emulation workaround or Docker recovery change was made.
The user explicitly waived further local validation to review and publish this focused patch. The waiver does not turn the failed or unexecuted checks into passes. Ordinary runtime/Android product CI is not evidence that this devcontainer builds, and emulator execution still requires separate validation on a KVM-capable Linux host.
Note
This pull request was prepared with GitHub Copilot assistance.