mirror of
https://github.com/nushell/nushell.git
synced 2025-03-06 19:31:40 +01:00
## Description While building the docker image under `nushell/docker` directory, following build failure observed.  The problem here is the following lines of code that decide which `nushell` binary to download, extract, and install https://github.com/nushell/nushell/blob/main/docker/Dockerfile#L16-L19 The issue is especially with wildcard asterisk (*) which downloads both `amd64` and `arm64` binary while building. ## Fix Introduced build arg `TARGETARCH` which will be populated implicitly by docker `build/buildx` which will help us to decide which binary to download. ## User-Facing Changes None. ## Testing Details Tested building docker image on both `amd64` and `arm64` systems. **amd64/x86_64**  **arm64**  |
||
---|---|---|
.. | ||
Dockerfile |