-
| Howdy, I've been trying to get Cypress to run in Docker, using an ARM-based Debian container. But for some reason, Cypress is still trying to load x86 modules: I do not understand why cypress claims the platform is linux-x64, when the container it is running within is aarch64: I am using the exact same container to install the node_modules via  Here's the Dockerfile I used to build the image: # chekote/node:latest-cypress-slim
# chekote/node:{node version}-cypress-slim
FROM chekote/node:latest-dev-slim
RUN set -eux; \
    #
    # Upgrade all packages
    apt-get update; \
    apt-get upgrade -y; \
    #
    # Cypress Dependencies
    apt-get install -y --no-install-recommends --no-install-suggests \
        libgtk2.0-0 \
        libgtk-3-0 \
        libgbm-dev \
        libnotify-dev \
        libgconf-2-4 \
        libnss3 \
        libxss1 \
        libasound2 \
        libxtst6 \
        xauth \
        xvfb; \
    #
    # Cleanup
    apt-get remove -y; \
    apt-get autoremove -y; \
    apt-get clean; \
    rm -rf /var/lib/apt/lists/*; \
Does anyone have any idea why Cypress is behaving this way? | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| I'm closing this as a duplicate of #15461. Also see https://www.cypress.io/blog/2021/01/20/running-cypress-on-the-apple-m1-silicon-arm-architecture-using-rosetta-2/. | 
Beta Was this translation helpful? Give feedback.
I'm closing this as a duplicate of #15461. Also see https://www.cypress.io/blog/2021/01/20/running-cypress-on-the-apple-m1-silicon-arm-architecture-using-rosetta-2/.