3 Commits

Author SHA1 Message Date
David Claeys
f8492f5450 update readme
All checks were successful
Build docker container / build (release) Successful in 2m52s
2025-11-26 17:28:42 +01:00
David Claeys
23b884767d create 9.0 branch
All checks were successful
Build docker container / build (release) Successful in 1m31s
2025-11-26 16:31:40 +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
3 changed files with 7 additions and 16 deletions

View File

@@ -37,9 +37,8 @@ jobs:
git.claeyscloud.com/david/net-base
tags: |
type=semver,pattern={{raw}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=sha
type=semver,pattern={{version}}
- name: Generate random password for certificate
id: password
run:

View File

@@ -1,7 +1,7 @@
ARG CERT_PASSWORD
ARG DOTNET_SDK_VERSION=10.0.100
ARG DOTNET_RUNTIME_VERSION=10.0.0
ARG ALPINE_VERSION=3.22
ARG DOTNET_SDK_VERSION=9.0.308
ARG DOTNET_RUNTIME_VERSION=9.0.11
ARG ALPINE_VERSION=3.21
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 | 10.0.100 |
| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 10.0.0 |
| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base| 3.22 |
| 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.308 |
| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 9.0.11 |
| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base| 3.21 |
## Security implications
@@ -96,14 +96,6 @@ 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?