File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
docker/release/nanoserver-insider Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,11 @@ FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env
11
11
12
12
# Arguments for installing powershell, must be defined in the container they are used
13
13
ARG PS_VERSION=6.0.0-beta.5
14
- ARG PS_DOWNLOAD_SHA=DAB8CC377D1BADD91688AEC9277D7696CC8DB2C25CECBCC934BD91AA7C724901
15
14
16
15
ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win10-win2016-x64.zip
17
16
18
17
SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
19
18
RUN Invoke-WebRequest $Env:PS_DOWNLOAD_URL -OutFile powershell.zip
20
- RUN if ((Get-FileHash powershell.zip -Algorithm sha256).Hash -ne $Env:PS_DOWNLOAD_SHA) { `
21
- Write-Host 'CHECKSUM VERIFICATION FAILED!' ; `
22
- exit 1; `
23
- }
24
19
25
20
RUN Expand-Archive powershell.zip -DestinationPath \P owerShell
26
21
You can’t perform that action at this time.
0 commit comments