Could we add officially supported Arm containers?
Oracle has a pretty generous always free service with Arm; 4 Arm vcpu, 24Gb RAM: https://www.oracle.com/cloud/free/#always-free
AWS has a pretty good free trial to the end of the year: https://aws.amazon.com/ec2/instance-types/t4/
I think it’s generally true that Arm is more efficient and better for the environment.
There are 3rd party Arm images available and I’m running instances with these on AWS and Oracle, but they are not updated as frequently as the official images: https://hub.docker.com/r/masquernya/lemmy/tags
I know if I’m asking I should be ready to help, and I am. But this isn’t something I know how to do.
Much appreciated! Looking for this morning’s release with the vulnerability fix.
As you’re doing it anyway, if whoever is in charge of these things were agreeable to it, would you be willing to do the official Arm images under https://hub.docker.com/r/dessalines/lemmy? One key advantage is the official ansible deployment method would work without modification for Arm deployments.
Looking for this morning’s release with the vulnerability fix.
You’re welcome! Today, the only commit that’s been made to lemmy is this one. I suppose you’re talking about yesterday’s security vulnerability fixes in lemmy-ui here and here?
If so, please pull
0.18.2-rc.1-linux-arm64
from my lemmy-ui repo on Docker Hub.latest-linux-arm64
works as well, as I periodically recompile it when interesting pull requests have been merged, so that one’s “bleeding edge” most of the time.About Dessalines’ Docker repo: I don’t have access to that, unfortunately. But I’m pretty sure that Lemmy devs will soon provide offical ARM64 images again, after this is resolved.
Edit: Forget what I said, building new images now!
hmm weird. This bot is announcing an 18.2 release (and I think people are installing it.) https://matrix.to/#/#lemmy-support-releases:discuss.online
But the repo is still showing 18.1 as the latest.
Yes, it was an oversight by me, I’m sorry. You can now pull
0.18.2-linux-arm64
from my repo.
I’ve been using yours the past couple weeks. Found them on a desperate search on docker hub for arm images. Appreciate it
You’re welcome. :3
I really do trust both of these projects and the community mindedness of their owners. Does someone know how you’d go about verifying a 3rd party image hasn’t diverged from the official project image?
You read the Dockerfile https://hub.docker.com/layers/masquernya/lemmy/0.18.2-linux-arm64/images/sha256-f1501bab2574cf371673d0926fdecd5b61e00d77e637ebc4f43a31ecbc029270?context=explore
To me the first line is pretty opaque
ADD file:1368964550b1f674dd0365f72bb1d55cfebf5e3c651d49b5e168f9be97a6df76 in /
Maybe that hash lines up with a version of Lemmy, otherwise it’s just a hash of a mystery block of files that could contain anything.
Here’s an example dockerfile I wrote (for a different project) that’s a little more transparent
FROM alpine:3.18.2 WORKDIR /root RUN apk update && apk upgrade && apk add --no-cache git nodejs-current yarn RUN git clone https://github.com/hydra-synth/hydra.git WORKDIR /root/hydra RUN yarn install EXPOSE 8000 CMD ["yarn", "build"] CMD ["yarn", "serve"]
ubergeek77’s multiarch docker images update fast.
If you want up to date docker arm64 images ubergeek77 has a great project setup for that ^^ https://github.com/ubergeek77/lemmy-docker-multiarch