updates to newer version
All checks were successful
Build docker container / build (release) Successful in 10m58s
All checks were successful
Build docker container / build (release) Successful in 10m58s
This commit is contained in:
parent
0b2e403a7c
commit
f74812727c
@ -1,6 +1,6 @@
|
||||
ARG CERT_PASSWORD
|
||||
ARG DOTNET_SDK_VERSION=9.0.202
|
||||
ARG DOTNET_RUNTIME_VERSION=9.0.3
|
||||
ARG DOTNET_SDK_VERSION=9.0.203
|
||||
ARG DOTNET_RUNTIME_VERSION=9.0.4
|
||||
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
|
||||
@ -32,8 +32,7 @@ RUN apk update \
|
||||
&& mkdir -p $CERTIFICATES_DIRECTORY \
|
||||
&& mkdir -p $CONFIG_DIRECTORY
|
||||
COPY --from=build-env $CONFIG_DIRECTORY $CONFIG_DIRECTORY
|
||||
RUN CERT_PASSWORD=$(cat $CERT_PASSWORD_FILE) \
|
||||
&& cp $CONFIG_DIRECTORY/aspnetapp.pem $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
RUN cp $CONFIG_DIRECTORY/aspnetapp.pem $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
&& cp $CONFIG_DIRECTORY/aspnetapp.key $ASPNETCORE_Kestrel__Certificates__Default__KeyPath \
|
||||
&& rm -rf $CONFIG_DIRECTORY \
|
||||
&& chmod 755 $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
|
@ -66,8 +66,8 @@ 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.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 |
|
||||
| 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 |
|
||||
|
||||
## Security implications
|
||||
|
Loading…
x
Reference in New Issue
Block a user