From 9b529b3c10b1d3956f0c8d30e1365fbc8f011e2d Mon Sep 17 00:00:00 2001 From: Kaniska Date: Tue, 11 Nov 2025 06:37:21 +0000 Subject: [PATCH] Dev container - Image Naming convention changes --- src/alpine/.devcontainer/devcontainer.json | 2 +- src/alpine/README.md | 2 +- src/cpp-mariadb/README.md | 2 +- src/cpp-mariadb/devcontainer-template.json | 12 ++++++------ src/cpp/README.md | 2 +- src/cpp/devcontainer-template.json | 12 ++++++------ src/ubuntu/README.md | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/alpine/.devcontainer/devcontainer.json b/src/alpine/.devcontainer/devcontainer.json index 0fe6c082..e8b56d10 100644 --- a/src/alpine/.devcontainer/devcontainer.json +++ b/src/alpine/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Alpine", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/base:alpine-${templateOption:imageVariant}" + "image": "mcr.microsoft.com/devcontainers/base:alpine${templateOption:imageVariant}" // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, diff --git a/src/alpine/README.md b/src/alpine/README.md index 07e417c1..64cca402 100644 --- a/src/alpine/README.md +++ b/src/alpine/README.md @@ -7,7 +7,7 @@ Simple Alpine container with Git installed. | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Alpine version: | string | 3.21 | +| imageVariant | Alpine version: | string | 3.22 | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata. diff --git a/src/cpp-mariadb/README.md b/src/cpp-mariadb/README.md index 1b8b9ee8..9cd4dd30 100644 --- a/src/cpp-mariadb/README.md +++ b/src/cpp-mariadb/README.md @@ -7,7 +7,7 @@ Develop C++ applications on Linux. Includes Debian C++ build tools. | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon): | string | debian-11 | +| imageVariant | Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon): | string | debian12 | | reinstallCmakeVersionFromSource | Install CMake version different from what base image has already installed. | string | none | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata. diff --git a/src/cpp-mariadb/devcontainer-template.json b/src/cpp-mariadb/devcontainer-template.json index 52f4868d..0456ddbf 100644 --- a/src/cpp-mariadb/devcontainer-template.json +++ b/src/cpp-mariadb/devcontainer-template.json @@ -1,6 +1,6 @@ { "id": "cpp-mariadb", - "version": "3.0.3", + "version": "3.1.0", "name": "C++ & MariaDB", "description": "Develop C++ applications on Linux. Includes Debian C++ build tools.", "documentationURL": "https://github.com/devcontainers/templates/tree/main/src/cpp-mariadb", @@ -11,12 +11,12 @@ "type": "string", "description": "Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon):", "proposals": [ - "debian-12", - "debian-11", - "ubuntu-24.04", - "ubuntu-22.04" + "debian12", + "debian11", + "ubuntu24.04", + "ubuntu22.04" ], - "default": "debian-11" + "default": "debian12" }, "reinstallCmakeVersionFromSource": { "type": "string", diff --git a/src/cpp/README.md b/src/cpp/README.md index c2a7000c..531e43eb 100644 --- a/src/cpp/README.md +++ b/src/cpp/README.md @@ -7,7 +7,7 @@ Develop C++ applications on Linux. Includes Debian C++ build tools. | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon): | string | debian-11 | +| imageVariant | Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon): | string | debian12 | | reinstallCmakeVersionFromSource | Install CMake version different from what base image has already installed. | string | none | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata. diff --git a/src/cpp/devcontainer-template.json b/src/cpp/devcontainer-template.json index 569f63c6..11ac0b29 100644 --- a/src/cpp/devcontainer-template.json +++ b/src/cpp/devcontainer-template.json @@ -1,6 +1,6 @@ { "id": "cpp", - "version": "3.0.3", + "version": "3.1.0", "name": "C++", "description": "Develop C++ applications on Linux. Includes Debian C++ build tools.", "documentationURL": "https://github.com/devcontainers/templates/tree/main/src/cpp", @@ -11,12 +11,12 @@ "type": "string", "description": "Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon):", "proposals": [ - "debian-12", - "debian-11", - "ubuntu-24.04", - "ubuntu-22.04" + "debian12", + "debian11", + "ubuntu24.04", + "ubuntu22.04" ], - "default": "debian-11" + "default": "debian12" }, "reinstallCmakeVersionFromSource": { "type": "string", diff --git a/src/ubuntu/README.md b/src/ubuntu/README.md index 93ee9428..beac81a7 100644 --- a/src/ubuntu/README.md +++ b/src/ubuntu/README.md @@ -7,7 +7,7 @@ A simple Ubuntu container with Git and other common utilities installed. | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Ubuntu version (use ubuntu-22.04 or ubuntu-24.04 on local arm64/Apple Silicon): | string | noble | +| imageVariant | Ubuntu version (use ubuntu22.04 or ubuntu24.04 on local arm64/Apple Silicon): | string | noble | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.