Update PowerShell for .NET 6 and .NET 8 (#5578)

(cherry picked from commit 4eecaea090)
This commit is contained in:
Aditya Patwardhan 2024-06-19 09:20:08 -07:00 коммит произвёл Matt Thalman
Родитель 1891e5af18
Коммит 08d051d53a
39 изменённых файлов: 88 добавлений и 88 удалений

Просмотреть файл

@ -141,19 +141,19 @@
"netstandard-targeting-pack-2.1.0|linux-rpm|x64|sha": "fab41a86b9182b276992795247868c093890c6b3d5739376374a302430229624944998e054de0ff99bddd9459fc9543636df1ebd5392db069ae953ac17ea2880",
"powershell|6.0|build-version": "7.2.20",
"powershell|6.0|Linux.Alpine|sha": "8e218e27e176ea30454ddaf96206d11b7982ce569752370326a950ea2a9edb4d454a372e52213096751522326bfb7f7cc89cdf79633d9353c492b422e3eab766",
"powershell|6.0|Linux|arm32|sha": "3bb85d251cb730690962ac5ea3b82879a292d28079dc1db156b74ff4ebfbc51d1dd5046eac4483131fe2f1d8b88ed54203843fbd7f1788c35198f7fa842f6a1f",
"powershell|6.0|Linux|arm64|sha": "cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622",
"powershell|6.0|Linux|x64|sha": "16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4",
"powershell|6.0|Windows|x64|sha": "3b2f0541b20de236aa4a2bb247a0202ef66c648462c3d04d4cd35911d823639b6b2344050a4401b245dd299f7d985cfa403a9e7b127050471e84e70bde4939e0",
"powershell|6.0|build-version": "7.2.21",
"powershell|6.0|Linux.Alpine|sha": "890c268bb49f671bd12ddec209466e49053f33470309ab573e08336ba3285e492f55caedded7b59dd6aa5b5a071f46766922c2121fef58999360af2187b5eddd",
"powershell|6.0|Linux|arm32|sha": "914f8d72b9d817af08bf7e6db8f3b45128d9bd9303a03c2d8d63a9cff1336a6550ba35b0ed5f60d1f7a969d949acf9bc04af0d89213e7bac2f5f8036c374c000",
"powershell|6.0|Linux|arm64|sha": "e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb",
"powershell|6.0|Linux|x64|sha": "9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31",
"powershell|6.0|Windows|x64|sha": "485a5afb9c4450cf1052b9649353eb5aaad4ea9fe57197f513278087297b5c235cea638ec179cced6fa83fb8870f88763f8858215a3c110e6a8687d07b973984",
"powershell|8.0|build-version": "7.4.2",
"powershell|8.0|Linux.Alpine|sha": "8af6b97658e800420b18d90a3e61d791b42b6de9a6d948751cbfcece7b5e714e512dfd805a2f32d95b0dd549c17812716b856331af3bc9def42840dd254d11e4",
"powershell|8.0|Linux|arm32|sha": "e97a46c997664c833e5d7bc19dc588822576d807dfa1a056915c44c388b180909cfe4dd11435eecff224c653d6ba5c099ef33c6b1aeaf4225328d2664aa94bda",
"powershell|8.0|Linux|arm64|sha": "b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962",
"powershell|8.0|Linux|x64|sha": "fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237",
"powershell|8.0|Windows|x64|sha": "cd67b38d93ce1cd4fa4bc3af90288266ab7c482b019f775d6975dd10586726c0f9f924578388dcc9039c4a9cef6ecca9299727e52ec65748ba4e511224c8734b",
"powershell|8.0|build-version": "7.4.3",
"powershell|8.0|Linux.Alpine|sha": "aea61d0f36b04979315959090a6ea6cee577d20e6a8667218971eec8c791fdc7b8342e0a2b1b1dc322d53badc20e179bebb5cac6f76b59cf25120385c8e5b99b",
"powershell|8.0|Linux|arm32|sha": "1d13b5d072b7f269bbfbb24d2945c90f942c2e0d0b3f1d8a888b41ddc2d8acb6cf9064c7ff8794aefdfdc4e488e3a6ac30b3d66b3c4874894dee1bd565971db2",
"powershell|8.0|Linux|arm64|sha": "da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d",
"powershell|8.0|Linux|x64|sha": "70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2",
"powershell|8.0|Windows|x64|sha": "1a6c2e52f0b445184d2b6f259c3ae83e6377c902c4ba7ed75edc030c3cbc0c9ded0e6b0cb31206994d70072d588c0f78f318ed91c6524cf3a8c9ae8668638270",
"powershell|9.0|build-version": "7.5.0-preview.3",
"powershell|9.0|Linux.Alpine|sha": "abfaf9e8f8d012b83710bc6bb5ce31e69986071afd8f9aeb678612176d77787e7446f06f9a3cbeb2c0e17d23bf827798b7b20a4dec60b060f258c6c043059353",

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='8e218e27e176ea30454ddaf96206d11b7982ce569752370326a950ea2a9edb4d454a372e52213096751522326bfb7f7cc89cdf79633d9353c492b422e3eab766' \
&& powershell_sha512='890c268bb49f671bd12ddec209466e49053f33470309ab573e08336ba3285e492f55caedded7b59dd6aa5b5a071f46766922c2121fef58999360af2187b5eddd' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='8e218e27e176ea30454ddaf96206d11b7982ce569752370326a950ea2a9edb4d454a372e52213096751522326bfb7f7cc89cdf79633d9353c492b422e3eab766' \
&& powershell_sha512='890c268bb49f671bd12ddec209466e49053f33470309ab573e08336ba3285e492f55caedded7b59dd6aa5b5a071f46766922c2121fef58999360af2187b5eddd' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4' \
&& powershell_sha512='9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='3bb85d251cb730690962ac5ea3b82879a292d28079dc1db156b74ff4ebfbc51d1dd5046eac4483131fe2f1d8b88ed54203843fbd7f1788c35198f7fa842f6a1f' \
&& powershell_sha512='914f8d72b9d817af08bf7e6db8f3b45128d9bd9303a03c2d8d63a9cff1336a6550ba35b0ed5f60d1f7a969d949acf9bc04af0d89213e7bac2f5f8036c374c000' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622' \
&& powershell_sha512='e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4' \
&& powershell_sha512='9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='3bb85d251cb730690962ac5ea3b82879a292d28079dc1db156b74ff4ebfbc51d1dd5046eac4483131fe2f1d8b88ed54203843fbd7f1788c35198f7fa842f6a1f' \
&& powershell_sha512='914f8d72b9d817af08bf7e6db8f3b45128d9bd9303a03c2d8d63a9cff1336a6550ba35b0ed5f60d1f7a969d949acf9bc04af0d89213e7bac2f5f8036c374c000' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622' \
&& powershell_sha512='e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb' \
&& 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 \

Просмотреть файл

@ -49,9 +49,9 @@ RUN curl -fSL --output dotnet.rpm https://dotnetcli.azureedge.net/dotnet/Sdk/$DO
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4' \
&& powershell_sha512='9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31' \
&& 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 \

Просмотреть файл

@ -45,9 +45,9 @@ RUN curl -fSL --output dotnet.rpm https://dotnetcli.azureedge.net/dotnet/Sdk/$DO
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622' \
&& powershell_sha512='e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4' \
&& powershell_sha512='9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='3bb85d251cb730690962ac5ea3b82879a292d28079dc1db156b74ff4ebfbc51d1dd5046eac4483131fe2f1d8b88ed54203843fbd7f1788c35198f7fa842f6a1f' \
&& powershell_sha512='914f8d72b9d817af08bf7e6db8f3b45128d9bd9303a03c2d8d63a9cff1336a6550ba35b0ed5f60d1f7a969d949acf9bc04af0d89213e7bac2f5f8036c374c000' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622' \
&& powershell_sha512='e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='16291c6de3241b4f108dfe406a7f6a86652c2ee90653da05a5a6eab7f421b7838b1ddc9a6084753d03f599eb2826731dd21cd7a262448ea88ff05c28156aa3f4' \
&& powershell_sha512='9f903db271afdf7b5e6da8e04afd80bdccb071d0208f9f49ff26ac5e457a5cdc5f799a9f798e33fb77d76aa7ce3c83f57ed231b1badcd06e9947254a2fd1fa31' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='3bb85d251cb730690962ac5ea3b82879a292d28079dc1db156b74ff4ebfbc51d1dd5046eac4483131fe2f1d8b88ed54203843fbd7f1788c35198f7fa842f6a1f' \
&& powershell_sha512='914f8d72b9d817af08bf7e6db8f3b45128d9bd9303a03c2d8d63a9cff1336a6550ba35b0ed5f60d1f7a969d949acf9bc04af0d89213e7bac2f5f8036c374c000' \
&& 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 \

Просмотреть файл

@ -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.2.20 \
RUN powershell_version=7.2.21 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='cc21e8fcbbe5a8b8d9b26463da9a0a8f8966565061942b8d158b29e807d5fded0d9bf1e0b42b80c6b0cb875a994484a483458830a5019160f8e986e054700622' \
&& powershell_sha512='e1098d5d6145f534b817e27cc6ca00da0072fd666807e7b3039dd2eeb7223a24088d20abef5491dbf98857cc37d81c1d36f913211cd55632973e3a425ee0aadb' \
&& 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 \

Просмотреть файл

@ -22,9 +22,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.2.20'; `
$powershell_version = '7.2.21'; `
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_sha512 = '3b2f0541b20de236aa4a2bb247a0202ef66c648462c3d04d4cd35911d823639b6b2344050a4401b245dd299f7d985cfa403a9e7b127050471e84e70bde4939e0'; `
$powershell_sha512 = '485a5afb9c4450cf1052b9649353eb5aaad4ea9fe57197f513278087297b5c235cea638ec179cced6fa83fb8870f88763f8858215a3c110e6a8687d07b973984'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -22,9 +22,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.2.20'; `
$powershell_version = '7.2.21'; `
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_sha512 = '3b2f0541b20de236aa4a2bb247a0202ef66c648462c3d04d4cd35911d823639b6b2344050a4401b245dd299f7d985cfa403a9e7b127050471e84e70bde4939e0'; `
$powershell_sha512 = '485a5afb9c4450cf1052b9649353eb5aaad4ea9fe57197f513278087297b5c235cea638ec179cced6fa83fb8870f88763f8858215a3c110e6a8687d07b973984'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -34,9 +34,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.2.20'; `
$powershell_version = '7.2.21'; `
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_sha512 = '3b2f0541b20de236aa4a2bb247a0202ef66c648462c3d04d4cd35911d823639b6b2344050a4401b245dd299f7d985cfa403a9e7b127050471e84e70bde4939e0'; `
$powershell_sha512 = '485a5afb9c4450cf1052b9649353eb5aaad4ea9fe57197f513278087297b5c235cea638ec179cced6fa83fb8870f88763f8858215a3c110e6a8687d07b973984'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -34,9 +34,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.2.20'; `
$powershell_version = '7.2.21'; `
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_sha512 = '3b2f0541b20de236aa4a2bb247a0202ef66c648462c3d04d4cd35911d823639b6b2344050a4401b245dd299f7d985cfa403a9e7b127050471e84e70bde4939e0'; `
$powershell_sha512 = '485a5afb9c4450cf1052b9649353eb5aaad4ea9fe57197f513278087297b5c235cea638ec179cced6fa83fb8870f88763f8858215a3c110e6a8687d07b973984'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -35,9 +35,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.4.2 \
RUN powershell_version=7.4.3 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='8af6b97658e800420b18d90a3e61d791b42b6de9a6d948751cbfcece7b5e714e512dfd805a2f32d95b0dd549c17812716b856331af3bc9def42840dd254d11e4' \
&& powershell_sha512='aea61d0f36b04979315959090a6ea6cee577d20e6a8667218971eec8c791fdc7b8342e0a2b1b1dc322d53badc20e179bebb5cac6f76b59cf25120385c8e5b99b' \
&& 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 \

Просмотреть файл

@ -35,9 +35,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.4.2 \
RUN powershell_version=7.4.3 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='8af6b97658e800420b18d90a3e61d791b42b6de9a6d948751cbfcece7b5e714e512dfd805a2f32d95b0dd549c17812716b856331af3bc9def42840dd254d11e4' \
&& powershell_sha512='aea61d0f36b04979315959090a6ea6cee577d20e6a8667218971eec8c791fdc7b8342e0a2b1b1dc322d53badc20e179bebb5cac6f76b59cf25120385c8e5b99b' \
&& 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 \

Просмотреть файл

@ -31,9 +31,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237' \
&& powershell_sha512='70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2' \
&& 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 \

Просмотреть файл

@ -31,9 +31,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962' \
&& powershell_sha512='da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237' \
&& powershell_sha512='70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='e97a46c997664c833e5d7bc19dc588822576d807dfa1a056915c44c388b180909cfe4dd11435eecff224c653d6ba5c099ef33c6b1aeaf4225328d2664aa94bda' \
&& powershell_sha512='1d13b5d072b7f269bbfbb24d2945c90f942c2e0d0b3f1d8a888b41ddc2d8acb6cf9064c7ff8794aefdfdc4e488e3a6ac30b3d66b3c4874894dee1bd565971db2' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962' \
&& powershell_sha512='da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d' \
&& 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 \

Просмотреть файл

@ -31,9 +31,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237' \
&& powershell_sha512='70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2' \
&& 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 \

Просмотреть файл

@ -31,9 +31,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962' \
&& powershell_sha512='da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237' \
&& powershell_sha512='70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='e97a46c997664c833e5d7bc19dc588822576d807dfa1a056915c44c388b180909cfe4dd11435eecff224c653d6ba5c099ef33c6b1aeaf4225328d2664aa94bda' \
&& powershell_sha512='1d13b5d072b7f269bbfbb24d2945c90f942c2e0d0b3f1d8a888b41ddc2d8acb6cf9064c7ff8794aefdfdc4e488e3a6ac30b3d66b3c4874894dee1bd565971db2' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962' \
&& powershell_sha512='da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d' \
&& 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 \

Просмотреть файл

@ -37,9 +37,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.4.2'; `
$powershell_version = '7.4.3'; `
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_sha512 = 'cd67b38d93ce1cd4fa4bc3af90288266ab7c482b019f775d6975dd10586726c0f9f924578388dcc9039c4a9cef6ecca9299727e52ec65748ba4e511224c8734b'; `
$powershell_sha512 = '1a6c2e52f0b445184d2b6f259c3ae83e6377c902c4ba7ed75edc030c3cbc0c9ded0e6b0cb31206994d70072d588c0f78f318ed91c6524cf3a8c9ae8668638270'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -37,9 +37,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.4.2'; `
$powershell_version = '7.4.3'; `
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_sha512 = 'cd67b38d93ce1cd4fa4bc3af90288266ab7c482b019f775d6975dd10586726c0f9f924578388dcc9039c4a9cef6ecca9299727e52ec65748ba4e511224c8734b'; `
$powershell_sha512 = '1a6c2e52f0b445184d2b6f259c3ae83e6377c902c4ba7ed75edc030c3cbc0c9ded0e6b0cb31206994d70072d588c0f78f318ed91c6524cf3a8c9ae8668638270'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='fa3e2ff45882e7248710f2ad074a822225e50e7be5fb6f88bdefe1b717f03c3c4c1ef9cf2736ba943275ca5b4c2e205cf7890224f2f95a10f8ecace6776e7237' \
&& powershell_sha512='70d940b052a89d79b5f8c02dc95ab1bb0642effa196b029d6117994cae1d493936926d3a126043da8df3d8f7ebcb2b35a3d51e6a47f1753f3f0f35110a9f0fa2' \
&& 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 \

Просмотреть файл

@ -34,9 +34,9 @@ RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/
&& dotnet help
# Install PowerShell global tool
RUN powershell_version=7.4.2 \
RUN powershell_version=7.4.3 \
&& curl -fSL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b97d527429636ed38f53b103d16bf22b86795f090e02091063bc1d9a3359bfcf06ead65e5be2c0002d88ca3cad2d0069fee8db7ae88bf9d6b3ccf03800b68962' \
&& powershell_sha512='da88ad7fc0121e7d3bdd2b55dda37969b1ce346f921536348754b5dc4468f2a77108d4805110efa5725e7da62c966cd9a0d9b70ee51fe7f2588aa365bd14fa4d' \
&& 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 \

Просмотреть файл

@ -47,9 +47,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.4.2'; `
$powershell_version = '7.4.3'; `
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_sha512 = 'cd67b38d93ce1cd4fa4bc3af90288266ab7c482b019f775d6975dd10586726c0f9f924578388dcc9039c4a9cef6ecca9299727e52ec65748ba4e511224c8734b'; `
$powershell_sha512 = '1a6c2e52f0b445184d2b6f259c3ae83e6377c902c4ba7ed75edc030c3cbc0c9ded0e6b0cb31206994d70072d588c0f78f318ed91c6524cf3a8c9ae8668638270'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `

Просмотреть файл

@ -47,9 +47,9 @@ RUN powershell -Command " `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.4.2'; `
$powershell_version = '7.4.3'; `
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_sha512 = 'cd67b38d93ce1cd4fa4bc3af90288266ab7c482b019f775d6975dd10586726c0f9f924578388dcc9039c4a9cef6ecca9299727e52ec65748ba4e511224c8734b'; `
$powershell_sha512 = '1a6c2e52f0b445184d2b6f259c3ae83e6377c902c4ba7ed75edc030c3cbc0c9ded0e6b0cb31206994d70072d588c0f78f318ed91c6524cf3a8c9ae8668638270'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `