chore: move to alpine image
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 30s
Build, Package and Push Images / sonarqube (push) Successful in 1m24s
Build, Package and Push Images / container-build (push) Successful in 1m26s
Build, Package and Push Images / container-sbom-scan (push) Successful in 36s

This commit is contained in:
Timothy Schenk 2023-11-14 22:38:43 +01:00
parent 1e92c53bad
commit c197afc750

View file

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/runtime:8.0-bookworm-slim AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine AS base
WORKDIR /app
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
ARG TARGETARCH
ENV TZ=Etc/UTC
ENV DOTNET_TieredPGO=1