From 68662b4c90fcf01badd153e56573eee887659936 Mon Sep 17 00:00:00 2001 From: David Claeys Date: Thu, 3 Apr 2025 16:09:57 +0200 Subject: [PATCH] update readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d66ea76..a0d5430 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,24 @@ Among other things these tweaks are included : | DOTNET_CLI_TELEMETRY_OPTOUT | Disables telemetry | 1 | | TZ | Time zone ([list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)) | Europe/Brussels | | +### Build arguments + +These are the most important build arguments. Most of them are optional, meaning you can tweak them if you so desire. +However the *CERT_PASSWORD* argument is required, as it's necesarry in order to build a working image. + +You can build the image yourself like this + +```sh +docker build --build-arg supersecretpassword . -t net-base +``` + +| Argument | Description | Default | +|-----------------------------------------------------|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------| +| CERT_PASSWORD | The password for the generated certificate | N/A | +| 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.202 | +| DOTNET_RUNTIME_VERSION | The [runtime](https://mcr.microsoft.com/en-us/artifact/mar/dotnet/aspnet/tags) version used as a base | 9.0.3 | +| ALPINE_VERSION | The version of [alpine linux](https://www.alpinelinux.org/) used as a base
Currently you can choose between `3.20` or `3.21` | 3.21 | + ### Usage Since this is just a base image, some additional setup is needed.