Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[cpp]- Add support for debian trixie(13)
  • Loading branch information
sireeshajonnalagadda authored Sep 12, 2025
commit cb1535bdc4120f3134c8a43bdb3e83cbf3089427
2 changes: 1 addition & 1 deletion src/cpp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT=debian-12
ARG VARIANT=debian-13
FROM mcr.microsoft.com/devcontainers/base:${VARIANT}
USER root

Expand Down
13 changes: 8 additions & 5 deletions src/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| *Categories* | Core, Languages |
| *Image type* | Dockerfile |
| *Published images* | mcr.microsoft.com/devcontainers/cpp |
| *Available image variants* | debian-12, debian-11, ubuntu-24.04, ubuntu-22.04 ([full list](https://mcr.microsoft.com/v2/devcontainers/cpp/tags/list)) |
| *Available image variants* | debian-13, debian-12, debian-11, ubuntu-24.04, ubuntu-22.04 ([full list](https://mcr.microsoft.com/v2/devcontainers/cpp/tags/list)) |
| *Published image architecture(s)* | x86-64, aarch64/arm64 for `debian-12`, `debian-11`, `ubuntu-24.04` and `ubuntu-22.04` variants |
| *Container host OS support* | Linux, macOS, Windows |
| *Container OS* | Debian, Ubuntu |
Expand All @@ -23,6 +23,7 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag

- `mcr.microsoft.com/devcontainers/cpp` (latest Debian GA)
- `mcr.microsoft.com/devcontainers/cpp:debian` (latest Debian GA)
- `mcr.microsoft.com/devcontainers/cpp:debian-13` (or `trixie`)
- `mcr.microsoft.com/devcontainers/cpp:debian-12` (or `bookworm`)
- `mcr.microsoft.com/devcontainers/cpp:debian-11` (or `bullseye`)
- `mcr.microsoft.com/devcontainers/cpp:ubuntu` (latest Ubuntu LTS)
Expand All @@ -32,10 +33,12 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.

You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:

- `mcr.microsoft.com/devcontainers/cpp:1-bookworm`
- `mcr.microsoft.com/devcontainers/cpp:1.0-bookworm`
- `mcr.microsoft.com/devcontainers/cpp:1.0.0-bookworm`
- `mcr.microsoft.com/devcontainers/cpp:2-trixie`
- `mcr.microsoft.com/devcontainers/cpp:2.0-trixie`
- `mcr.microsoft.com/devcontainers/cpp:2.0.0-trixie`
- `mcr.microsoft.com/devcontainers/cpp:2-bookworm`
- `mcr.microsoft.com/devcontainers/cpp:2.0-bookworm`
- `mcr.microsoft.com/devcontainers/cpp:2.0.0-bookworm`

However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `0-debian-11`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.

Expand Down
16 changes: 14 additions & 2 deletions src/cpp/manifest.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
{
"version": "1.2.14",
"version": "2.0.0",
"variants": [
"trixie",
"bookworm",
"bullseye",
"noble",
"jammy"
],
"build": {
"latest": "bookworm",
"latest": "trixie",
"parent": {
"trixie": "base-debian",
"bookworm": "base-debian",
"bullseye": "base-debian",
"noble": "base-ubuntu",
"jammy": "base-ubuntu"
},
"rootDistro": "debian",
"architectures": {
"trixie": [
"linux/amd64",
"linux/arm64"
],
"bookworm": [
"linux/amd64",
"linux/arm64"
Expand All @@ -37,6 +43,12 @@
"cpp:${VERSION}-${VARIANT}"
],
"variantTags": {
"trixie": [
"cpp:${VERSION}-debian-13",
"cpp:${VERSION}-debian13",
"cpp:${VERSION}-debian",
"cpp:${VERSION}"
],
"bookworm": [
"cpp:${VERSION}-debian-12",
"cpp:${VERSION}-debian12",
Expand Down