When you run
docker build -t code-maat-app .
on a Mac with Apple Silicon chip, then docker fails with the following error message
ERROR [internal] load metadata for docker.io/library/clojure:alpine
...
error: failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:d7bcb938ec3e6cef737e621e83f82b6ebbf6e60ebf5e4354c2f7d5418bb7cc5c: not found
I suspect that the base image clojure:alpine is not available for the linux/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.
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:alpineis not available for thelinux/arm64architecture 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.