Skip to content

features/powershell: Container build fails on ARM64 after #1562 on v2 #1579

Description

Hey team (cc @Kaniska244 , Abdurrahmaan Iqbal (@abdurriq) ),

Building ubuntu-based dev containers with powershell feature fails. I noticed this right after merging #1562.

Example log:

2026-02-17 19:40:39-- https://release-assets.githubusercontent.com/github-production-release-asset/49609581/a52c746d-1d3b-4132-a3a1-3e8c7366ab8e?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-02-17T20%3A37%3A29Z&rscd=attachment%3B+filename%3Dpowershell-7.5.4-linux-arm64.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-02-17T19%3A37%3A02Z&ske=2026-02-17T20%3A37%3A29Z&sks=b&skv=2018-11-09&sig=Tn9uFM5fxnGYsb6YqcjJOy72QiGjSNk4gV3CXQ0NWrY%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc3MTM1OTAzNiwibmJmIjoxNzcxMzU3MjM2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.S0vm1Qw3Aa9agnxU5RfTDzlUM7f5JfN_4KsR8Vztr2g&response-content-disposition=attachment%3B%20filename%3Dpowershell-7.5.4-linux-arm64.tar.gz&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)...185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.109.133|:443...connected.
HTTP request sent, awaiting response...200 OK
Length: 72216296 (69M) [application/octet-stream]
Saving to: 'powershell-7.5.4-linux-arm64.tar.gz.1'
0K .......... .......... .......... .......... .......... 0% 1.72M 40s
50K .......... .......... .......... .......... .......... 0% 5.50M 26s

.....
70400K .......... .......... .......... .......... .......... 99% 224M 0s
70450K .......... .......... .......... .......... .......... 99% 99.6M 0s
70500K .......... .......... ... 100% 33.4M=2.5s
2026-02-17 19:40:41 (27.6 MB/s) - 'powershell-7.5.4-linux-arm64.tar.gz.1' saved [72216296/72216296]
tar: powershell-7.5.4-linux-x64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ERROR: Feature "PowerShell" (ghcr.io/devcontainers/features/powershell) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/powershell for help troubleshooting this error.

my env:

I'm able to reproduce this regardless of cache. I'm using arm host&container on my m4 pro based mac. Dev container is based on Dockerfile booted FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04 . I tried using this blank feature config:

"ghcr.io/devcontainers/features/powershell:2.0.0": {}

ℹ️ If I try using v1 (e.g.: "ghcr.io/devcontainers/features/powershell:1": {}), everything works!

Activity

  1. v-Kaniska244 commented on Feb 19, 2026

    @v-Kaniska244
    Contributor

    PR merged. Kindly check and get back in case of further issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions