Typhonragewind / meshcentral-docker

163 stars 46 forks source link

Publish ARM image #29

Closed joryirving closed 1 year ago

joryirving commented 1 year ago

Hi there, considering that the meshcentral documentation specifies the ability to run this on something like an RPi, I was wondering if you were considering building an ARM image.

After cloning the repo, I was able to build and run an image from your existing dockerfile with no issues.

Typhonragewind commented 1 year ago

I do not have an ARM to build the image with, but I'll investigate how to do it with my system.

joryirving commented 1 year ago

Docker lets you build for other architectures using the buildx command: https://docs.docker.com/engine/reference/commandline/buildx_build/

Additionally, you could use github actions to automatically build it, and host it on github instead of the docker repo, similar to this: https://github.com/onedr0p/containers/blob/main/.github/workflows/action-image-build.yaml

Typhonragewind commented 1 year ago

Multiarch images implemented (with github actions).

Thank you for the suggestion!