We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f9c018 commit 7803ce9Copy full SHA for 7803ce9
docker/windows-amd64.dockerfile
@@ -1,9 +1,7 @@
1
FROM mcr.microsoft.com/windows/nanoserver:ltsc2025
2
3
-ENV POWERSHELL_VERSION=7.5.2
4
-
5
# 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
+RUN curl.exe -L -o pwsh.zip https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/PowerShell-7.5.2-win-x64.zip
7
RUN mkdir C:\pwsh
8
RUN tar -xf pwsh.zip -C C:\pwsh
9
RUN del pwsh.zip
@@ -16,3 +14,4 @@ RUN pwsh -Command "Install-Module -Name PnP.PowerShell -AlowPrerelease -SkipPubl
16
14
17
15
# Start PowerShell
18
CMD ["pwsh"]
+
0 commit comments