-
Notifications
You must be signed in to change notification settings - Fork 226
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
Docker image fails to build on Apple Silicon (M1-ARM64 architecture) #82
Comments
As a very slow workaround, one could run docker buildx build --platform linux/amd64 -t code-maat-app . This would use the Rosetta 2 emulation. On my machine the build process took extremely long (I aborted after about 12 minutes). |
I prefer the following workaround, which trades off container size against time behaviour:
|
I had exactly the same problem, and also reached the same workaround as you @wonderbird Perhaps a fix for this will be to just make a note in the README to update from |
I just used the |
Still failing on 2024/8/19. PR: #94 |
I have succeeded in running code-maat in docker with the following description. According to https://github.com/Quantisan/docker-clojure/blob/master/README.md
,but if I set These are the reports. Sorry for my poor English. |
When you run
docker build -t code-maat-app .
on a Mac with Apple Silicon chip, then docker fails with the following error message
I suspect that the base image
clojure:alpine
is not available for thelinux/arm64
architecture at the time of writing.I wouldn't change anything in code maat for now. Instead, let's use this thread to make users aware of the issue and present workarounds for the time being.
The text was updated successfully, but these errors were encountered: