From 746077adb454b6a1d47fcf91c12518fb2f8cb5e7 Mon Sep 17 00:00:00 2001
From: Dave Dunkin <dave.dunkin@logos.com>
Date: Wed, 31 Jan 2024 11:32:18 -0700
Subject: [PATCH] Install .NET SDKs in C:\Program Files\dotnet.

---
 windows/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/windows/Dockerfile b/windows/Dockerfile
index 27b0e8e..e9030c6 100644
--- a/windows/Dockerfile
+++ b/windows/Dockerfile
@@ -33,9 +33,9 @@ RUN `
 # Install supported .NET SDKs
 RUN `
     curl -fSLO https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1 `
-    && powershell .\dotnet-install.ps1 -Channel 6.0 `
-    && powershell .\dotnet-install.ps1 -Channel 7.0 `
-    && powershell .\dotnet-install.ps1 -Channel 8.0 `
+    && powershell .\dotnet-install.ps1 -Channel 6.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
+    && powershell .\dotnet-install.ps1 -Channel 7.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
+    && powershell .\dotnet-install.ps1 -Channel 8.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
     && del dotnet-install.ps1
 
 WORKDIR /actions-runner