Skip to content

Sync .NET template image variants with published images - #467

Open
Kaniska (v-Kaniska244) wants to merge 4 commits into
mainfrom
copilot/sync-template-image-variants-again
Open

Kaniska (v-Kaniska244) wants to merge 4 commits into
mainfrom
copilot/sync-template-image-variants-again

Conversation

@v-Kaniska244

@v-Kaniska244 Kaniska (v-Kaniska244) commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Synchronize the .NET templates with the currently published devcontainers/dotnet image variants and update the Compose build workaround for recent Compose 5.x releases.

Changes

  • Updated the dotnet, dotnet-postgres, and dotnet-mssql templates to use image generation 3.
  • Kept .NET 11 variants as the defaults and restored the published .NET 10 variants:
    • 11.0
    • 11.0-resolute
    • 10.0
    • 10.0-resolute
    • 10.0-noble
  • Updated the F# template sample image from dotnet:2-10.0-noble to dotnet:3-11.0-resolute.
  • Bumped the versions of all affected .NET templates.
  • Expanded the Compose Bake entitlement workaround from Compose 5.6.x to all Compose 5.x releases.

Related issue

Fixes #466

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@v-Kaniska244 Kaniska (v-Kaniska244) changed the title [WIP] Sync template image variants with devcontainers/images Sync .NET template image variants with published images Nov 23, 2026
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The Ubuntu resolute default requires container build and SQL connectivity validation, especially for dotnet-mssql’s legacy apt-key installer and distro-derived Microsoft repository; verified image tags do not establish compatibility.

No open issues 🎉

What changed in this PR

Updates the .NET development container templates to address the image drift reported in #466, moving their image references to the dotnet:3- series.

Changes:

  • Aligns the three C# templates on .NET 10/11 variants, removes .NET 8/9 options, and defaults to 11.0-resolute.
  • Pins F# to dotnet:3-11.0-resolute and bumps all four template versions.
  • Expands the Compose workaround from 5.6.x to all stable 5.x releases, retaining 2.38.x support.
File Description
src/​dotnet/​devcontainer-template.json Updates C# variants, default, and template version.
src/​dotnet/​.devcontainer/​devcontainer.json Switches the C# image prefix to dotnet:3-.
src/​dotnet-postgres/​devcontainer-template.json Aligns PostgreSQL template variants and default; bumps version.
src/​dotnet-postgres/​.devcontainer/​Dockerfile Switches the base image prefix to dotnet:3-.
src/​dotnet-mssql/​devcontainer-template.json Aligns SQL Server template variants and default; bumps version.
src/​dotnet-mssql/​.devcontainer/​Dockerfile Switches the base image prefix to dotnet:3-.
src/​dotnet-fsharp/​devcontainer-template.json Bumps the F# template version.
src/​dotnet-fsharp/​.devcontainer/​devcontainer.json Pins F# to dotnet:3-11.0-resolute.
.github/​actions/​setup-compose/​action.yml Broadens the Compose workaround to stable 5.x releases.

Review effort: Balanced

@v-Kaniska244
Kaniska (v-Kaniska244) marked this pull request as ready for review November 23, 2026 13:42
@v-Kaniska244
Kaniska (v-Kaniska244) requested a review from a team as a code owner November 23, 2026 13:42

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync template image variants with devcontainers/images

3 participants