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

"circleci local execute" fails on Apple Silicon #1079

Open
jhirn opened this issue Oct 13, 2024 · 0 comments
Open

"circleci local execute" fails on Apple Silicon #1079

jhirn opened this issue Oct 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jhirn
Copy link

jhirn commented Oct 13, 2024

Meta:

CircleCI CLI Version:

.1.30995+77b1f51 (homebrew)

Operating System:
MacOS Sequoia

CircleCI CLI Diagnostic:

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /Users/jhirn/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Trying an introspection query on API... 
Ok.
Hello, You Handsome Man

Current behavior:

I'm trying to run my circle build locally it can't download the image cimg/ruby:335-browser due to the architecture being different. I've got Rosetta installed, latest docker desktop, and have run linux/amd64 images via docker and docker-compose, but I can't figure how to set the platform for circleci via args or even updating config.yml.

Feels like this shouldn't be to hard to figure out but I searched discussion forums and this issue board for a while. Happpy to shre my entire config.yml if necessary.

Expected behavior:

It should respect DOCKER_DEFAULT_PLATFORM=linux/amd64, a --platform arg to cli, or be configurable via config.yml

When did this begin / Was this previously working?:

Forever. I gave up a few months ago trying to get this working but would like to get it resolved.

Additional Information:

@jhirn jhirn added the bug Something isn't working label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant