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
Error: Unsupported architecture on Linux: arm64 #71
Comments
I was able to build the image on a Raspberry Pi 5: git clone https://github.com/denoland/denokv.git
cd denokv
docker buildx build -f Dockerfile --platform linux/arm64 -t rpi5/denokv ./ Change Build took around 8 minutes. On an M2 MacBook I've been using the
but it still runs fine. Using Docker Desktop 4.28.0 on macOS 14.4. I did try building a native image (same command above) took a few minutes, haven't bothered to test it though. Raspberry Pi 5:
Docker version on Pi 5 (install guide):
Running fine on the Pi so far. I'll report back if any problems arise. Official arm images would be nice now that Deno has offical arm binaries. |
Yeah, it's the npm module |
But thanks for that example to create my own docker image. |
Problem
Environment:
On installing the
@deno/kv
package I get this runtime errorLooking into
/opt/project/functions/node_modules/@deno/kv/script/_napi_index.cjs:100
then yes there is no matching package (linux/arm64
)This is the environment you can get in docker in macos.
Solution
Maybe add an automated build for
linux/arm64
This architecture is also on e.g. raspberry pi devices.
The text was updated successfully, but these errors were encountered: