this post was submitted on 11 Jul 2023
6 points (100.0% liked)

Lemmy Support

4660 readers
28 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments

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"]