Skip to content

Commit 576dc1f

Browse files
committed
[powershell] - Fixing installation issue on arm64
1 parent 9735099 commit 576dc1f

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit bc374b9423f61ce11b215d5217be32d1c5805170

src/powershell/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "powershell",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"name": "PowerShell",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/powershell",
66
"description": "Installs PowerShell along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",

src/powershell/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ install_using_github() {
397397
# downlaod the latest version of powershell and extracting the file to powershell directory
398398
wget https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/${powershell_filename}
399399
mkdir ~/powershell
400-
tar -xvf powershell-${POWERSHELL_VERSION}-linux-x64.tar.gz -C ~/powershell
400+
tar -xvf ${powershell_filename} -C ~/powershell
401401

402402
powershell_archive_sha256="$(cat release.html | tr '\n' ' ' | sed 's|<[^>]*>||g' | grep -oP "${powershell_filename}\s+\K[0-9a-fA-F]{64}" || echo '')"
403403
if [ -z "${powershell_archive_sha256}" ]; then

0 commit comments

Comments
 (0)