make 8.0 alpine 22 branch
All checks were successful
Build docker container / build (release) Successful in 1m32s

This commit is contained in:
David Claeys
2025-11-26 17:19:32 +01:00
parent ff0e8a0c7f
commit c0448dc4a5
2 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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).<br/>
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?