Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PowerShell to v7.3.0 #4200

Merged
merged 1 commit into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions manifest.versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@
"powershell|6.0|Linux|x64|sha": "465db0b02507d8c055a0ef9ae4e43395a9897b632660a0d1c07788159d13b9cc54d44823123ea001bbe3ad97740b0e5f998cb3378c84ba8824bc233559f32288",
"powershell|6.0|Windows|x64|sha": "3b3ce6c307169fa73b8a3120c851ebe0614ebba7b4099fbf20954eb4e41556ef686828317fed56f5995ffe83754dbc775062555579b26f339399d50e6b99dac3",

"powershell|7.0|build-version": "7.3.0-rc.1",
"powershell|7.0|Linux.Alpine|sha": "6ad6056f5186b17ef072e79bda51aa1b507ed3ae793611bcfbecbabd8decc09c86f606c9de397f4e7ff762275ac76f7de25090b3c38f1ada1c164e3ea39e7447",
"powershell|7.0|Linux|arm32|sha": "7f5438bac947b0176895f84b0fb3dd65090652996ac5c2179b4bedd3ab0568038e0848c8e2e3fb2bf85f33174ec08aafe6e11cd9084c2c4604dffccb3e100c4d",
"powershell|7.0|Linux|arm64|sha": "0fbac3d3b1e280c29f40bc039e46d859948c0bb8a35426cbce1ec91edfa1b2015b0f7c1233050b9512498064e4a9a00c45275f4f6b76157c91bd1524a23171c6",
"powershell|7.0|Linux|x64|sha": "06018db4af748c0ae0fcafb8f7335d2568b3ea557270103e8023106012d99cc2bf63b6c5c13450a6982bcb53cc5f8f03971a57c38c79e200f1dcab3e3def9bae",
"powershell|7.0|Windows|x64|sha": "55600f2946526a0b39898c2a8c78f7f2d26fff9814085d8769c588b5f1d929089be200269becd2b782daf69067d4036f59649cce3cb308043e07c660254e8893",
"powershell|7.0|build-version": "7.3.0",
"powershell|7.0|Linux.Alpine|sha": "d22736ec497d1b55d641ffaa862eef7d23eb2f0c336be407a87706aa73989145c75c6a0d49ad8fe6336c6096083c78d201e810b4e0d67f22331bb95c3b1a4a1d",
"powershell|7.0|Linux|arm32|sha": "9cf239039b530a984e7fcea8fc3b63ed179fcc810e27294a836c5d292d26e406f1fc9c9b01762b444de383664ff8e418256206ff3db9c4967d4caf71af33991c",
"powershell|7.0|Linux|arm64|sha": "1c6a2d5a5de2739283297c46b2ecc07d62b7b265db1595913fab5836b2f77b900f59b0b9440e2b1b7d0bda6f42e1c79a208ee106d034cf012566c86c00281de9",
"powershell|7.0|Linux|x64|sha": "c4a72142e2bfae0c2a64a662f1baa27940f1db8a09384c90843163e339581d8d41824145fb9f79c680f9b7906043365e870d48d751ab8809c15a590f47562ae6",
"powershell|7.0|Windows|x64|sha": "5c5459e739c9abb2eb72249158af9dd868823ed6200a33d07385f0b37c4405b490c0b40f4ababd850d72721f884b41b86b3c8d8039e5bf1efb3aa84c72162cdf",

"runtime|3.1|build-version": "3.1.31",
"runtime|3.1|targeting-pack-version": "3.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/alpine3.16/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ RUN wget -O dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNET_SDK
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='6ad6056f5186b17ef072e79bda51aa1b507ed3ae793611bcfbecbabd8decc09c86f606c9de397f4e7ff762275ac76f7de25090b3c38f1ada1c164e3ea39e7447' \
&& powershell_sha512='d22736ec497d1b55d641ffaa862eef7d23eb2f0c336be407a87706aa73989145c75c6a0d49ad8fe6336c6096083c78d201e810b4e0d67f22331bb95c3b1a4a1d' \
&& echo "$powershell_sha512 PowerShell.Linux.Alpine.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.Alpine \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/bullseye-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='06018db4af748c0ae0fcafb8f7335d2568b3ea557270103e8023106012d99cc2bf63b6c5c13450a6982bcb53cc5f8f03971a57c38c79e200f1dcab3e3def9bae' \
&& powershell_sha512='c4a72142e2bfae0c2a64a662f1baa27940f1db8a09384c90843163e339581d8d41824145fb9f79c680f9b7906043365e870d48d751ab8809c15a590f47562ae6' \
&& echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/bullseye-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='7f5438bac947b0176895f84b0fb3dd65090652996ac5c2179b4bedd3ab0568038e0848c8e2e3fb2bf85f33174ec08aafe6e11cd9084c2c4604dffccb3e100c4d' \
&& powershell_sha512='9cf239039b530a984e7fcea8fc3b63ed179fcc810e27294a836c5d292d26e406f1fc9c9b01762b444de383664ff8e418256206ff3db9c4967d4caf71af33991c' \
&& echo "$powershell_sha512 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/bullseye-slim/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='0fbac3d3b1e280c29f40bc039e46d859948c0bb8a35426cbce1ec91edfa1b2015b0f7c1233050b9512498064e4a9a00c45275f4f6b76157c91bd1524a23171c6' \
&& powershell_sha512='1c6a2d5a5de2739283297c46b2ecc07d62b7b265db1595913fab5836b2f77b900f59b0b9440e2b1b7d0bda6f42e1c79a208ee106d034cf012566c86c00281de9' \
&& echo "$powershell_sha512 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/cbl-mariner2.0/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='06018db4af748c0ae0fcafb8f7335d2568b3ea557270103e8023106012d99cc2bf63b6c5c13450a6982bcb53cc5f8f03971a57c38c79e200f1dcab3e3def9bae' \
&& powershell_sha512='c4a72142e2bfae0c2a64a662f1baa27940f1db8a09384c90843163e339581d8d41824145fb9f79c680f9b7906043365e870d48d751ab8809c15a590f47562ae6' \
&& echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/cbl-mariner2.0/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='0fbac3d3b1e280c29f40bc039e46d859948c0bb8a35426cbce1ec91edfa1b2015b0f7c1233050b9512498064e4a9a00c45275f4f6b76157c91bd1524a23171c6' \
&& powershell_sha512='1c6a2d5a5de2739283297c46b2ecc07d62b7b265db1595913fab5836b2f77b900f59b0b9440e2b1b7d0bda6f42e1c79a208ee106d034cf012566c86c00281de9' \
&& echo "$powershell_sha512 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/jammy/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='06018db4af748c0ae0fcafb8f7335d2568b3ea557270103e8023106012d99cc2bf63b6c5c13450a6982bcb53cc5f8f03971a57c38c79e200f1dcab3e3def9bae' \
&& powershell_sha512='c4a72142e2bfae0c2a64a662f1baa27940f1db8a09384c90843163e339581d8d41824145fb9f79c680f9b7906043365e870d48d751ab8809c15a590f47562ae6' \
&& echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/jammy/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='7f5438bac947b0176895f84b0fb3dd65090652996ac5c2179b4bedd3ab0568038e0848c8e2e3fb2bf85f33174ec08aafe6e11cd9084c2c4604dffccb3e100c4d' \
&& powershell_sha512='9cf239039b530a984e7fcea8fc3b63ed179fcc810e27294a836c5d292d26e406f1fc9c9b01762b444de383664ff8e418256206ff3db9c4967d4caf71af33991c' \
&& echo "$powershell_sha512 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/jammy/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.3.0-rc.1 \
RUN powershell_version=7.3.0 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='0fbac3d3b1e280c29f40bc039e46d859948c0bb8a35426cbce1ec91edfa1b2015b0f7c1233050b9512498064e4a9a00c45275f4f6b76157c91bd1524a23171c6' \
&& powershell_sha512='1c6a2d5a5de2739283297c46b2ecc07d62b7b265db1595913fab5836b2f77b900f59b0b9440e2b1b7d0bda6f42e1c79a208ee106d034cf012566c86c00281de9' \
&& echo "$powershell_sha512 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/nanoserver-1809/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.3.0-rc.1'; `
$powershell_version = '7.3.0'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = '55600f2946526a0b39898c2a8c78f7f2d26fff9814085d8769c588b5f1d929089be200269becd2b782daf69067d4036f59649cce3cb308043e07c660254e8893'; `
$powershell_sha512 = '5c5459e739c9abb2eb72249158af9dd868823ed6200a33d07385f0b37c4405b490c0b40f4ababd850d72721f884b41b86b3c8d8039e5bf1efb3aa84c72162cdf'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/nanoserver-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.3.0-rc.1'; `
$powershell_version = '7.3.0'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = '55600f2946526a0b39898c2a8c78f7f2d26fff9814085d8769c588b5f1d929089be200269becd2b782daf69067d4036f59649cce3cb308043e07c660254e8893'; `
$powershell_sha512 = '5c5459e739c9abb2eb72249158af9dd868823ed6200a33d07385f0b37c4405b490c0b40f4ababd850d72721f884b41b86b3c8d8039e5bf1efb3aa84c72162cdf'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/windowsservercore-ltsc2019/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.3.0-rc.1'; `
$powershell_version = '7.3.0'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = '55600f2946526a0b39898c2a8c78f7f2d26fff9814085d8769c588b5f1d929089be200269becd2b782daf69067d4036f59649cce3cb308043e07c660254e8893'; `
$powershell_sha512 = '5c5459e739c9abb2eb72249158af9dd868823ed6200a33d07385f0b37c4405b490c0b40f4ababd850d72721f884b41b86b3c8d8039e5bf1efb3aa84c72162cdf'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/7.0/windowsservercore-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.3.0-rc.1'; `
$powershell_version = '7.3.0'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = '55600f2946526a0b39898c2a8c78f7f2d26fff9814085d8769c588b5f1d929089be200269becd2b782daf69067d4036f59649cce3cb308043e07c660254e8893'; `
$powershell_sha512 = '5c5459e739c9abb2eb72249158af9dd868823ed6200a33d07385f0b37c4405b490c0b40f4ababd850d72721f884b41b86b3c8d8039e5bf1efb3aa84c72162cdf'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down