Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker - Cannot find binary to match your architecture [linux aarch64] #953

Open
emarty-maze opened this issue Aug 17, 2021 · 2 comments
Open

Comments

@emarty-maze
Copy link

Describe the bug
We want to use Docker to deploy the Flex Shopify Theme using our existing CI environment however when we attempt to install themekit following the instructions found here: https://shopify.dev/themes/tools/theme-kit/getting-started#linux using the command:

curl -s https://shopify.dev/themekit.py | sudo python

we receive the following error:

 => ERROR [7/7] RUN curl -s https://shopify.dev/themekit.py | sudo python3                                                                                                                                 1.1s
------
 > [7/7] RUN curl -s https://shopify.dev/themekit.py | sudo python3:
#11 1.044 Please open an issue at https://github.com/Shopify/themekit/issues
#11 1.044 Cannot find binary to match your architecture [linux aarch64]
------
executor failed running [/bin/sh -c curl -s https://shopify.dev/themekit.py | sudo python3]: exit code: 1

To Reproduce
Steps to reproduce the behavior:

  1. Using Docker, try to build the following Docker image using the following contents:
FROM ruby

RUN apt-get update && apt-get install -y \
  sudo

RUN adduser --disabled-password --gecos '' docker
RUN adduser docker sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER docker

RUN gem install shopify-cli

RUN curl -s https://shopify.dev/themekit.py | sudo python3
  1. Use the following command to build:

docker build -t docker-themekit .

Expected behavior
I should end up with a functioning Docker image that I can use to deploy updates to my theme

Environment (please complete the following information):

  • OS: OS 11.5.1 Big Sur
  • Docker desktop 3.5.2
  • Docker images: Alpine Linux & Ubuntu
  • Themekit version: Latest however unable to install and verify the version
  • Editor: Vscode
  • Ignore: N/A

Additional context
There was a similar issue opened but never truly resolved as the one who logged it decided to use the node API for deployment in the end, so not a true solution.

#695 (comment)

@callamd
Copy link

callamd commented Aug 21, 2023

This also happens on asahi linux with apples new arm architecture.

@ryaninvents
Copy link

This also happens when you try to use VS Code Devcontainers on an M1 / M2 Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants