-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Description
Building Docker image on Mac with ARM ends with:
=> [stage-1 3/8] RUN mkdir -p /usr/status-user && chmod -R 777 /usr/status-user 0.1s
=> [stage-1 4/8] RUN mkdir -p /static/configs 0.1s
=> ERROR [builder 3/12] RUN curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y && /root/.nimble/bin/choosenim 2.2.4 1.4s
------
> [builder 3/12] RUN curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y && /root/.nimble/bin/choosenim 2.2.4:
1.396 choosenim-init: Error: Sorry, your platform (linux_arm64) is not supported by choosenim.
1.396 choosenim-init: Error: You will need to install Nim using an alternative method.
1.396 choosenim-init: Error: See the following link for more info: https://nim-lang.org/install.html
------
Dockerfile:16
--------------------
15 | ENV CHOOSENIM_NO_ANALYTICS=1
16 | >>> RUN curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y \
17 | >>> && /root/.nimble/bin/choosenim ${NIM_VERSION}
18 |
Impact
High occurrence, low impact.
To reproduce
- Checkout https://github.com/status-im/status-go/tree/develop
- Setup prerequisites for functional tests (Docker, Anvil, etc.)
- docker build --tag "statusgo-$(git rev-parse --short HEAD)" .
Expected behavior
Possibly use Docker builder with Nim compiler built from sources and have this cached in subsequent builds. Or make Choosenim community to add support for linux_arm64. Temporary workaround - undo #7185
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels