diff --git a/Directory.Packages.props b/Directory.Packages.props index 7ac0687c0..e24f56e53 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,11 +10,11 @@ - - - - - + + + + + @@ -46,13 +46,13 @@ - - + + - + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4392e04b6..4498aa228 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-cbl-mariner2.0@sha256:a153d63a5f0eb33d217e0740d57a97b001f762b14b340f647a0819c82a9552ff AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0@sha256:34d121e8963bcefecab6f07ebcef1515d9ad9ffc502c8c11f378d42f70ba9f39 AS build WORKDIR /app COPY . . RUN dotnet publish -c Release -o out \ @@ -10,7 +10,7 @@ RUN dotnet publish -c Release -o out \ -p:PublishSingleFile=true \ ./src/Microsoft.ComponentDetection -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-cbl-mariner2.0@sha256:c3e48fb02e9b6956d0795a3bebd583198978447a8dece82fce1f652759f78b39 AS runtime +FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-cbl-mariner2.0@sha256:e8f1e989198980266e6c2e17f6bf24c6c35b2f39c24e1bbb083f48a1b1d29c26 AS runtime WORKDIR /app COPY --from=build /app/out ./