Skip to content

Missing arm64 images #11

Open
Open

Description

@rawtaz

AFAICT there's only amd64 versions of this image on Docker Hub. Would it be possible for you to add arm64 images too (useful for Apple Silicon development machines)?

Activity

  1. adamdzk commented on Apr 10, 2024

    @adamdzk

    We had same issue - no luck with running the latest image on Mac M1. It seems there is small workaround by forcing an image to be amd64 by editing Dockerfile FROM clause to FROM --platform=linux/amd64 ubuntu. It forces the image to be recognized as amd64 platform and doesn't try to interpret it as arm64.

  2. andy-payhip commented on Sep 27, 2024

    @andy-payhip

    You can use libstdc++6-amd64-cross package in Debian to offer compatibility for arm64 platforms to run AMD64 (x86-64) binaries.

    FROM debian:bullseye-slim
    ARG DEBIAN_FRONTEND=noninteractive
    
    RUN apt-get update && \
        apt-get install -y \
        wget \
        unzip \
        ca-certificates \
        procps \
        libstdc++6-amd64-cross --no-install-recommends && \
        rm -rf /var/lib/apt/lists/* && \
        apt-get clean
    
    RUN ln -s /usr/x86_64-linux-gnu/lib64/ /lib64
    ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/lib64:/usr/x86_64-linux-gnu/lib"
    
    RUN wget https://www.browserstack.com/browserstack-local/binaries/release/v8.9/BrowserStackLocal-linux-x64.zip && \
        unzip BrowserStackLocal-linux-x64.zip && \
        rm BrowserStackLocal-linux-x64.zip && \
        chmod +x /BrowserStackLocal
    
    ENTRYPOINT [ "/BrowserStackLocal", "--source", "docker_8_9_debian"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions