Fmstrat / lcs

Lemmy Community Seeder (LCS)
70 stars 4 forks source link

Add Docker ARM64 support (and how to do it) #7

Open peterwilli opened 1 year ago

peterwilli commented 1 year ago

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/tags

If you wish to add official support:

Hope this helps! This builds both amd64 and arm64.

I tested it on:

peterwilli commented 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.

Fmstrat commented 11 months ago

@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.