From c0448dc4a5ac23e9aeb698cae28b7540037ed1e9 Mon Sep 17 00:00:00 2001 From: David Claeys Date: Wed, 26 Nov 2025 17:19:32 +0100 Subject: [PATCH] make 8.0 alpine 22 branch --- Dockerfile | 2 +- README.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3fe659b..2477dc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG CERT_PASSWORD ARG DOTNET_SDK_VERSION=8.0.416 ARG DOTNET_RUNTIME_VERSION=8.0.22 -ARG ALPINE_VERSION=3.21 +ARG ALPINE_VERSION=3.22 ARG CONFIG_DIRECTORY_ARG=/config FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_SDK_VERSION}-alpine${ALPINE_VERSION}-amd64 AS build-env ARG CONFIG_DIRECTORY_ARG diff --git a/README.md b/README.md index 359e845..a381550 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,9 @@ docker build --build-arg CERT_PASSWORD=supersecretpassword . -t net-base | Argument | Description | Default | |-----------------------------------------------------|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------| | CERT_PASSWORD | The password for the generated certificate | N/A **(required)** | -| DOTNET_SDK_VERSION | The [SDK](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/sdk/tags) version used to generate the development certificate | 9.0.300 | -| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 9.0.5 | -| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base| 3.21 | +| DOTNET_SDK_VERSION | The [SDK](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/sdk/tags) version used to generate the development certificate | 8.0.416 | +| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 8.0.22 | +| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base| 3.22 | ## Security implications @@ -96,6 +96,14 @@ The password used to generate the certificate is randomly generated through the The build agent used for the build is hosted on my own infrastructure but I don't have any access to it (neither do I intend to do so).
However if you feel uncomfortable with this fact, feel free to build the image yourself. +### Versioning + +Recently Microsoft decided to update the base images to alpine 3.22. +Before 2025-11-11 the latest supported version was alpine 3.21. +In order to support these changes the naming scheme will need to be changed. +Going forward specefic tags will be vailable for the different versions: by example `9.0.11-alpine-21` and `9.0.11-alpine-22`. +By default alpine 22 will be used and the older versions will be supported as long Microsoft does. + ## FAQ ### What holds the future this project?