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:
=> 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:
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
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.
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:
To Reproduce Steps to reproduce the behavior:
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):
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.
https://github.com/Shopify/themekit/issues/695#issuecomment-595068001