Open peterwilli opened 1 year ago
Hi @Fmstrat sorry for the ping, this might be interesting to you, it'll bring arm support to your Docker image without any changes to the source code. I tested it out and it works fine over here.
@peterwilli Thanks for the suggestion! Eventually I need to get GitHub Actions running on these so they build for all platforms on merges into the main branch.
Hey there, thanks for making this software.
My lemmy instance (https://lemmy.emerald.show) is running on an ARM server. While lcs Docker container doesn't support ARM, it's easy to make it so.
A demo image (made from commit
8ae9a6e350b0334f785619b98cef0548efec3863
) is here: https://hub.docker.com/r/peterwilli/lcs/tagsIf you wish to add official support:
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx create --use
docker buildx build --tag=<your_username>/lcs --platform linux/arm64,linux/amd64 --push .
Hope this helps! This builds both amd64 and arm64.
I tested it on: