From 1cd435857d8e95e9192f94a37db64ab5177cafee Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 29 Oct 2025 22:37:52 +0000
Subject: [PATCH 1/2] Update dotnet monorepo
---
Directory.Packages.props | 16 ++++++++--------
Dockerfile | 4 ++--
global.json | 2 +-
3 files changed, 11 insertions(+), 11 deletions(-)
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 ./
diff --git a/global.json b/global.json
index 33add8d1a..ee70dc605 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "8.0.415",
+ "version": "9.0.306",
"rollForward": "latestFeature"
}
}
From 1596b5ac2e686a44c264c5b787642338a0270cef Mon Sep 17 00:00:00 2001
From: Jamie Magee
Date: Thu, 30 Oct 2025 07:14:56 -0700
Subject: [PATCH 2/2] Downgrade .NET SDK (for now)
---
global.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/global.json b/global.json
index ee70dc605..33add8d1a 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "9.0.306",
+ "version": "8.0.415",
"rollForward": "latestFeature"
}
}