electerious / Ackee

Self-hosted, Node.js based analytics tool for those who care about privacy.
https://ackee.electerious.com
MIT License
4.2k stars 351 forks source link

ARM64 Docker Support (Also other arm architectures) #298

Closed Divkix closed 2 years ago

Divkix commented 2 years ago

Hey

I tried ackee on Vercel and would like to host it on my own Cloud VM (using Oracle Free Cloud tier), but unfortunately the official Docker Image doesn't support ARM yet.

I read about about the same in #286 but still can't see the ARM tagged images for Ackee.

Would really appreciate if there would be an official ARM image for Ackee.

electerious commented 2 years ago

Hey @Divkix, thanks for letting me know. Is there anything I need to add to the Dockerfile to support ARM64 (and other architectures)?

Divkix commented 2 years ago

Hey @electerious, the Dockerfile seems fine, you'll need to use docker buildkit in order to build images for multiple architectures.

Can you let me know how do you build the images before pushing them to Docker Hub?

electerious commented 2 years ago

I've just publish a new develop tag to Docker with support for other platforms. Please let me know if everything works as expected so I can create a new release 😊

Screenshot 2021-12-01 at 20 02 50

https://hub.docker.com/layers/68167147/electerious/ackee/develop/images/sha256-2fba8a6d509297b09c0c664c808d0e4904ec132789b22bff42ce33171ff54d99?context=repo

Divkix commented 2 years ago

The release works great on linux/arm64, I haven't been able to try on linux/arm/v7 because I don't have anything which runs on it, but I think that it should work. Everything works as expected for arm64 :)

electerious commented 2 years ago

Perfect, thanks for letting me know! v3.3.0 is now live: https://github.com/electerious/Ackee/releases/tag/v3.3.0