You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to deploy umami via docker on an arm64 machine (oracle cloud instance), but realised no arm64 image is available officially. So, I proceded to build the image with the docker file and got a yarn build error.
Steps I followed:
Clone repository
Edit docker-compose.yml to replace the image tag with build: .
This container doesn't support arm yet (see #272, #531, #593, #1671) and for a similar reason, unless you set a target platform, it won't build on arm either. As I see it you currently have three options:
Option 1
Easiest way (with some overhead, and if you can use a compose file version older than 3) would be to use the target platform option. I'm not sure on your setup, as it doesn't support swarm mode, but it works flawlessly on my arm64 Mac even though I'm using an unsupported compose file version.
Or build it. But as it works for me I can't test whether building it as amd64 allows it to run when adding the platform option while using the prebuilt image:
build:
context: "."
platforms:
- "linux/amd64"
Option 2
Someone has submitted a PR where they appear to be able to get it to successfully build for arm, if it builds for arm it might run without issue.
Option 3
Wait for arm support to be officially introduced, it appears there's a lot of activity regarding this so somebody might be working on it.
Hi there, awesome app!
I wanted to deploy umami via docker on an arm64 machine (oracle cloud instance), but realised no arm64 image is available officially. So, I proceded to build the image with the docker file and got a yarn build error.
Steps I followed:
build: .
docker compose up -d
Error:
I'm not sure if this is a bug or just the fact that I'm building it on arm64, any suggestions?
The text was updated successfully, but these errors were encountered: