3 Commits

Author SHA1 Message Date
David Claeys
c0448dc4a5 make 8.0 alpine 22 branch
All checks were successful
Build docker container / build (release) Successful in 1m32s
2025-11-26 17:19:32 +01:00
David Claeys
ff0e8a0c7f make 8.0 branch
All checks were successful
Build docker container / build (release) Successful in 1m36s
2025-11-26 16:24:10 +01:00
David Claeys
019f7e3a70 update image dependencies + update documentation
All checks were successful
Build docker container / build (release) Successful in 3m34s
2025-05-20 08:16:57 +02:00
2 changed files with 14 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
ARG CERT_PASSWORD
ARG DOTNET_SDK_VERSION=9.0.203
ARG DOTNET_RUNTIME_VERSION=9.0.4
ARG ALPINE_VERSION=3.21
ARG DOTNET_SDK_VERSION=8.0.416
ARG DOTNET_RUNTIME_VERSION=8.0.22
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.203 |
| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 9.0.4 |
| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base <br/> Currently you can choose between `3.20` or `3.21` | 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?