Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc013b0e35 | ||
|
|
65bdc94059 | ||
|
|
3933b36ff5 | ||
|
|
21e14a466d | ||
|
|
032fa50be0 | ||
|
|
98f51d4e28 | ||
|
|
49cdd9be18 | ||
|
|
019f7e3a70 |
@@ -37,8 +37,9 @@ jobs:
|
|||||||
git.claeyscloud.com/david/net-base
|
git.claeyscloud.com/david/net-base
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{raw}}
|
type=semver,pattern={{raw}}
|
||||||
type=sha
|
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}
|
||||||
|
type=sha
|
||||||
- name: Generate random password for certificate
|
- name: Generate random password for certificate
|
||||||
id: password
|
id: password
|
||||||
run:
|
run:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
ARG CERT_PASSWORD
|
ARG CERT_PASSWORD
|
||||||
ARG DOTNET_SDK_VERSION=9.0.203
|
ARG DOTNET_SDK_VERSION=10.0.100
|
||||||
ARG DOTNET_RUNTIME_VERSION=9.0.4
|
ARG DOTNET_RUNTIME_VERSION=10.0.0
|
||||||
ARG ALPINE_VERSION=3.21
|
ARG ALPINE_VERSION=3.22
|
||||||
ARG CONFIG_DIRECTORY_ARG=/config
|
ARG CONFIG_DIRECTORY_ARG=/config
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_SDK_VERSION}-alpine${ALPINE_VERSION}-amd64 AS build-env
|
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_SDK_VERSION}-alpine${ALPINE_VERSION}-amd64 AS build-env
|
||||||
ARG CONFIG_DIRECTORY_ARG
|
ARG CONFIG_DIRECTORY_ARG
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -66,9 +66,9 @@ docker build --build-arg CERT_PASSWORD=supersecretpassword . -t net-base
|
|||||||
| Argument | Description | Default |
|
| Argument | Description | Default |
|
||||||
|-----------------------------------------------------|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
|-----------------------------------------------------|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||||
| CERT_PASSWORD | The password for the generated certificate | N/A **(required)** |
|
| 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_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 | 9.0.4 |
|
| 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 <br/> Currently you can choose between `3.20` or `3.21` | 3.21 |
|
| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base| 3.22 |
|
||||||
|
|
||||||
## Security implications
|
## 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/>
|
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.
|
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
|
## FAQ
|
||||||
|
|
||||||
### What holds the future this project?
|
### What holds the future this project?
|
||||||
|
|||||||
Reference in New Issue
Block a user