Skip to content

Ensure Docker image builds & runs on M1 Mac #104

@cbosborn

Description

@cbosborn

Seeing this error running docker build on an M1 Mac:

docker build -f docker/Dockerfile . -t dialect/protocol:latest
...
=> ERROR [ 3/14] RUN sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)"                                                                                                                                                                                                          3.3s
------
 > [ 3/14] RUN sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)":
#6 0.908 downloading v1.8.0 installer
#6 3.233 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
------
executor failed running [/bin/sh -c sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)"]: exit code: 255

@tsmbl have you tried this yet, and did it work?

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