Merge branch 'master' of ssh://git.ar21.de:2222/sebleh/docker_exporter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Sebastian Leheis 2025-03-19 01:31:06 +01:00
commit eee549b3b2
Signed by: sebleh
GPG key ID: 423BA83CB094FAE3

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0-bookworm-slim AS build FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build
WORKDIR /app WORKDIR /app
# Separate layers here to avoid redoing dependencies on code change. # Separate layers here to avoid redoing dependencies on code change.
@ -10,7 +10,7 @@ RUN dotnet restore
COPY . . COPY . .
RUN dotnet publish --self-contained -r debian.12-x64 -c Release -o out; exit 0 RUN dotnet publish --self-contained -r debian.12-x64 -c Release -o out; exit 0
FROM mcr.microsoft.com/dotnet/runtime:6.0-bookworm-slim AS runtime FROM mcr.microsoft.com/dotnet/runtime:9.0-bookworm-slim AS runtime
WORKDIR /app WORKDIR /app
COPY --from=build /app/out . COPY --from=build /app/out .