Switched to chainguard runtime image. Upgraded to dotnet 9. Fixed small compose test value

This commit is contained in:
2025-05-15 10:44:18 +02:00
parent 7794ed65d2
commit 4b4fff43ce
2 changed files with 3 additions and 4 deletions

View File

@@ -1,9 +1,8 @@
# Prepare runtime docker image
FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble-chiseled AS base
WORKDIR /app
FROM cgr.dev/chainguard/aspnet-runtime:latest AS base
# Prepare build image
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
# === Heavy download/install tasks ===
# should be put here for caching reasons