Skip to content
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 @@ -198,14 +198,14 @@
"powershell|9.0|Linux|x64|sha": "f6eaac7191e73c9ea5caa825b520f474697bea8a74aa34471195ee0fc91948b1",
"powershell|9.0|Windows|x64|sha": "5da8df48da8762a737ce4dad9d41bc4e10933dc15255347b25d152c83c0771b0",

"powershell|10.0|build-version": "7.6.7",
"powershell|10.0|build-version": "7.6.8",
"powershell|10.0|base-url": "$(powershell|base-url|public)/$(powershell|10.0|build-version)",
"powershell|10.0|sha-function": "256",
"powershell|10.0|Linux.Alpine|sha": "e550b27718889fd6ba0460b059507c35c7308c6dde93200d9c2021c88c5622ba",
"powershell|10.0|Linux|arm32|sha": "b1b8b045c44bc36108f4d34d11b99a3999a7c2f9874428d302e9ec94bfc3bae0",
"powershell|10.0|Linux|arm64|sha": "22b8c5d9256afedec71bba53fac809851e82374ceb728c07eabce409d1431378",
"powershell|10.0|Linux|x64|sha": "198d713d6d16a55dcc46343271cc85a582af08e95875cc6179ee33a0b1aa2614",
"powershell|10.0|Windows|x64|sha": "4052134aca51222f097ec6cc1d76c4db4c18f4c8ef9d93b0ec2bbf70ddd7a452",
"powershell|10.0|Linux.Alpine|sha": "0e59b87e9c756b5ddc920649c3ba6cfa58cf88fdd106bfff1c13b92d5c19bad2",
"powershell|10.0|Linux|arm32|sha": "88f08012b418882a855b2814b99c3e628f93f4278adc25f20b98caff0b362c59",
"powershell|10.0|Linux|arm64|sha": "6cddb58e698125156c725d57b5942f7e0468cd75e8f7b78b133641ede1a28a8e",
"powershell|10.0|Linux|x64|sha": "caeeff1d808dd54a9fde06976e17c5c92061989dc5fbe21e13bd5690883e4eb1",
"powershell|10.0|Windows|x64|sha": "b8f63c74b62ecf44f08309eaa35b8dc5983bc85341a672fc838324c0eb82193b",

"powershell|11.0|build-version": "7.7.0-preview.5",
"powershell|11.0|base-url": "$(powershell|base-url|public)/$(powershell|11.0|build-version)",
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/alpine3.24/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-musl-x64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& wget --output-document PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha256='e550b27718889fd6ba0460b059507c35c7308c6dde93200d9c2021c88c5622ba' \
&& powershell_sha256='0e59b87e9c756b5ddc920649c3ba6cfa58cf88fdd106bfff1c13b92d5c19bad2' \
&& echo "$powershell_sha256 PowerShell.Linux.Alpine.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -50,14 +50,14 @@ RUN apk add --upgrade --no-cache \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.Alpine.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.Alpine.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.Alpine \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/azurelinux3.0/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha256='198d713d6d16a55dcc46343271cc85a582af08e95875cc6179ee33a0b1aa2614' \
&& powershell_sha256='caeeff1d808dd54a9fde06976e17c5c92061989dc5fbe21e13bd5690883e4eb1' \
&& echo "$powershell_sha256 PowerShell.Linux.x64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -50,14 +50,14 @@ RUN tdnf install -y \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.x64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.x64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/azurelinux3.0/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha256='22b8c5d9256afedec71bba53fac809851e82374ceb728c07eabce409d1431378' \
&& powershell_sha256='6cddb58e698125156c725d57b5942f7e0468cd75e8f7b78b133641ede1a28a8e' \
&& echo "$powershell_sha256 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -50,14 +50,14 @@ RUN tdnf install -y \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/azurelinux4.0/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha256='198d713d6d16a55dcc46343271cc85a582af08e95875cc6179ee33a0b1aa2614' \
&& powershell_sha256='caeeff1d808dd54a9fde06976e17c5c92061989dc5fbe21e13bd5690883e4eb1' \
&& echo "$powershell_sha256 PowerShell.Linux.x64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -51,14 +51,14 @@ RUN dnf install -y \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.x64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.x64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/azurelinux4.0/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha256='22b8c5d9256afedec71bba53fac809851e82374ceb728c07eabce409d1431378' \
&& powershell_sha256='6cddb58e698125156c725d57b5942f7e0468cd75e8f7b78b133641ede1a28a8e' \
&& echo "$powershell_sha256 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -51,14 +51,14 @@ RUN dnf install -y \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
&& dotnet nuget locals all --clear \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/10.0/nanoserver-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ RUN powershell -Command " `
$dotnet_sha512_file; `
`
# Install PowerShell global tool
$powershell_version = '7.6.7'; `
$powershell_version = '7.6.8'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha256 = '4052134aca51222f097ec6cc1d76c4db4c18f4c8ef9d93b0ec2bbf70ddd7a452'; `
$powershell_sha256 = 'b8f63c74b62ecf44f08309eaa35b8dc5983bc85341a672fc838324c0eb82193b'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha256).Hash -ne $powershell_sha256) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/10.0/nanoserver-ltsc2025/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ RUN powershell -Command " `
$dotnet_sha512_file; `
`
# Install PowerShell global tool
$powershell_version = '7.6.7'; `
$powershell_version = '7.6.8'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha256 = '4052134aca51222f097ec6cc1d76c4db4c18f4c8ef9d93b0ec2bbf70ddd7a452'; `
$powershell_sha256 = 'b8f63c74b62ecf44f08309eaa35b8dc5983bc85341a672fc838324c0eb82193b'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha256).Hash -ne $powershell_sha256) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/noble/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha256='198d713d6d16a55dcc46343271cc85a582af08e95875cc6179ee33a0b1aa2614' \
&& powershell_sha256='caeeff1d808dd54a9fde06976e17c5c92061989dc5fbe21e13bd5690883e4eb1' \
&& echo "$powershell_sha256 PowerShell.Linux.x64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.x64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.x64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/noble/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha256='b1b8b045c44bc36108f4d34d11b99a3999a7c2f9874428d302e9ec94bfc3bae0' \
&& powershell_sha256='88f08012b418882a855b2814b99c3e628f93f4278adc25f20b98caff0b362c59' \
&& echo "$powershell_sha256 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm32.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm32.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/noble/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha256='22b8c5d9256afedec71bba53fac809851e82374ceb728c07eabce409d1431378' \
&& powershell_sha256='6cddb58e698125156c725d57b5942f7e0468cd75e8f7b78b133641ede1a28a8e' \
&& echo "$powershell_sha256 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/resolute/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha256='198d713d6d16a55dcc46343271cc85a582af08e95875cc6179ee33a0b1aa2614' \
&& powershell_sha256='caeeff1d808dd54a9fde06976e17c5c92061989dc5fbe21e13bd5690883e4eb1' \
&& echo "$powershell_sha256 PowerShell.Linux.x64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.x64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.x64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/resolute/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha256='b1b8b045c44bc36108f4d34d11b99a3999a7c2f9874428d302e9ec94bfc3bae0' \
&& powershell_sha256='88f08012b418882a855b2814b99c3e628f93f4278adc25f20b98caff0b362c59' \
&& echo "$powershell_sha256 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm32.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm32.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
&& dotnet nuget locals all --clear \
Expand Down
8 changes: 4 additions & 4 deletions src/sdk/10.0/resolute/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN dotnet_sdk_version=10.0.402 \
dotnet-sdk-$dotnet_sdk_version-linux-arm64.tar.gz.sha512

# Download PowerShell
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& curl --fail --show-error --location --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha256='22b8c5d9256afedec71bba53fac809851e82374ceb728c07eabce409d1431378' \
&& powershell_sha256='6cddb58e698125156c725d57b5942f7e0468cd75e8f7b78b133641ede1a28a8e' \
&& echo "$powershell_sha256 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha256sum -c -


Expand Down Expand Up @@ -48,14 +48,14 @@ RUN apt-get update \

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]

COPY --from=installer ["/PowerShell.Linux.arm64.7.6.7.nupkg", "/"]
COPY --from=installer ["/PowerShell.Linux.arm64.7.6.8.nupkg", "/"]

RUN ln -s /usr/share/dotnet/dnx /usr/bin/dnx \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.6.7 \
RUN powershell_version=7.6.8 \
&& mkdir --parents /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
&& dotnet nuget locals all --clear \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/10.0/windowsservercore-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ RUN powershell -Command " `
$dotnet_sha512_file; `
`
# Install PowerShell global tool
$powershell_version = '7.6.7'; `
$powershell_version = '7.6.8'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha256 = '4052134aca51222f097ec6cc1d76c4db4c18f4c8ef9d93b0ec2bbf70ddd7a452'; `
$powershell_sha256 = 'b8f63c74b62ecf44f08309eaa35b8dc5983bc85341a672fc838324c0eb82193b'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha256).Hash -ne $powershell_sha256) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
Loading
Loading