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

Add support for M1 macs #1904

Open
rivernate opened this issue Aug 15, 2022 · 1 comment
Open

Add support for M1 macs #1904

rivernate opened this issue Aug 15, 2022 · 1 comment

Comments

@rivernate
Copy link

Is your feature request related to a problem? Please describe.

Unable to run opensalt on M1 Mac

Feature story

Feature: Add support for M1 Macs for development
  As a developer
  I want to be able to run opensalt on my M1 mac
  So that I can develop against it.

Describe the solution you'd like

The percona image doesn't support the ARM64 platform

Describe alternatives you've considered

mariadb, or building a custom percona docker image that supports multiple platforms

Additional context

console output:

docker-compose up -d
Building db
[+] Building 1.4s (3/3) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                    0.0s
 => => transferring dockerfile: 296B                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                       0.0s
 => => transferring context: 2B                                                                                                                         0.0s
 => ERROR [internal] load metadata for docker.io/library/percona:8.0                                                                                    1.3s
------
 > [internal] load metadata for docker.io/library/percona:8.0:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:30fb648ac9bdcda0b2974c8741d0ac26a00f4d0ab7feb3285b4df0d478576a73: not found
ERROR: Service 'db' failed to build : Build failed
make: *** [docker-start] Error 1```
@roverwolf
Copy link
Member

No Percona specific features are being used, so using an image for MySQL should work (I am not sure which version of MariaDB is compatible with MySQL 8).

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

2 participants