Skip to content

Commit 7803ce9

Browse files
authored
Update windows-amd64.dockerfile
1 parent 3f9c018 commit 7803ce9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker/windows-amd64.dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025
22

3-
ENV POWERSHELL_VERSION=7.5.2
4-
53
# Download and install PowerShell 7
6-
RUN curl.exe -L -o pwsh.zip https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/PowerShell-${POWERSHELL_VERSION}-win-x64.zip
4+
RUN curl.exe -L -o pwsh.zip https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x64.zip
75
RUN mkdir C:\pwsh
86
RUN tar -xf pwsh.zip -C C:\pwsh
97
RUN del pwsh.zip
@@ -16,3 +14,4 @@ RUN pwsh -Command "Install-Module -Name PnP.PowerShell -AlowPrerelease -SkipPubl
1614

1715
# Start PowerShell
1816
CMD ["pwsh"]
17+

0 commit comments

Comments
 (0)