Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/base-alpine/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ARG VARIANT=3.22
ARG VARIANT=3.23
FROM alpine:${VARIANT}
9 changes: 5 additions & 4 deletions src/base-alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| *Categories* | Core, Other |
| *Image type* | Dockerfile |
| *Published images* | mcr.microsoft.com/devcontainers/base:alpine |
| *Available image variants* | alpine-3.22, alpine-3.21, alpine-3.20 ([full list](https://mcr.microsoft.com/v2/devcontainers/base/tags/list)) |
| *Available image variants* | alpine-3.23, alpine-3.22, alpine-3.21, alpine-3.20 ([full list](https://mcr.microsoft.com/v2/devcontainers/base/tags/list)) |

| *Published image architecture(s)* | x86-64, aarch64/arm64 |
| *Container host OS support* | Linux, macOS, Windows |
Expand All @@ -23,6 +23,7 @@ See **[history](history)** for information on the contents of published images.
You can also directly reference pre-built versions of `.devcontainer/Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository.

- `mcr.microsoft.com/devcontainers/base:alpine` (latest)
- `mcr.microsoft.com/devcontainers/base:alpine-3.23`
- `mcr.microsoft.com/devcontainers/base:alpine-3.22`
- `mcr.microsoft.com/devcontainers/base:alpine-3.21`
- `mcr.microsoft.com/devcontainers/base:alpine-3.20`
Expand All @@ -32,9 +33,9 @@ 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/base:1-alpine`
- `mcr.microsoft.com/devcontainers/base:1.1-alpine`
- `mcr.microsoft.com/devcontainers/base:1.1.0-alpine`
- `mcr.microsoft.com/devcontainers/base:3-alpine`
- `mcr.microsoft.com/devcontainers/base:3.0-alpine`
- `mcr.microsoft.com/devcontainers/base:3.0.0-alpine`

See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/base/tags/list).

Expand Down
6 changes: 4 additions & 2 deletions src/base-alpine/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"version": "2.0.3",
"version": "3.0.0",
"variants": [
"latest",
"3.23",
"3.22",
"3.21",
"3.20"
Expand All @@ -16,7 +18,7 @@
"base:${VERSION}-alpine${VARIANT}"
],
"variantTags": {
"3.22": [
"3.23": [
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

Per the custom guideline for image changes, when adding a new variant that becomes the latest stable version (not a preview), the variant should be set as "latest" in the manifest. Since Alpine 3.23 is now the newest stable version and is being used as the default in the Dockerfile, consider whether build.latest should be set to "3.23" instead of remaining false. This follows the pattern from other multi-variant images where the newest variant is marked as latest (e.g., base-debian with "latest": "trixie").

Copilot generated this review using guidance from repository custom instructions.
"base:${VERSION}-alpine"
]
}
Expand Down