Hey there! Has anyone gotten a lemmy server up and running on ARM64? Since Commit 17527d0e7e8c9fd3cc16aa41c636432b7b6b5650 it looks like “multi arch” compiling is not supported anymore?

Unfortunately I am absolutely clueless when it comes to Rust, so my hacking around in the Dockerfile has not gotten me far.

  • marsara9
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I just launched a new instance on a Pi the other day. I wasn’t able to use the docker-compose as-is and I had to browse dockerhub to find the highest tags that support arm64 but it’s mostly working. I didn’t have to edit anything other than modifying the docker-compose btw.

    Not necessarily relevant but the main problem I’m still running into is that I can download posts from other instances but comments, up votes, etc… are all still showing 0. No new posts have downloaded yet either. But I suspect that that’s because I haven’t exposed my instance outside of my lan yet.

    I can share the relevant parts of my docker-compose later today once I have access to my Pi again.

    • marsara9
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Here’s the images that I ultimately ended up using:

      image: dessalines/lemmy:0.17.3-linux-arm64
      image: dessalines/lemmy-ui:0.17.3-linux-arm64
      

      You can find which images you can use by going out to dockerhub and searching under tags for a given project to see which images support which architectures: https://hub.docker.com/r/dessalines/lemmy/tags .

      I would avoid using latest for now, as it seems the devs have disabled multiarch builds. Hopefully they’ll re-enable that here soon so we can just start pulling latest again.