Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is an aarch64 build planned ? #337

Open
Jojonintendo opened this issue Jul 25, 2021 · 3 comments
Open

Is an aarch64 build planned ? #337

Jojonintendo opened this issue Jul 25, 2021 · 3 comments

Comments

@Jojonintendo
Copy link

I have recently installed a Lemmy instance on my Rock64 (Pine64 SBC) following this guide: https://join-lemmy.org/docs/en/administration/install_docker.html

Everything seems to run fine except for the following error that indefinitely repeats with docker-compose logs:

iframely_1 | standard_init_linux.go:228: exec user process caused: exec format error

I noticed that this component was the only one that didn't have an aarch64 version, which felt weird because docker-compose didn't even warn about it.

It would be really nice to have an aarch64 version, as it would allow it to work on low-powered SBC like Raspberry Pi.

Thanks in advance for your time.

@iparamonau
Copy link
Member

Hey thanks for reporting. Iframely's Docker is community-maintained. We have no capacity for it ourselves. Feel free to submit the PRs. It will be very much appreciated!

@marwonline
Copy link
Contributor

Hey @Jojonintendo ,

as far as I know, there is no official docker image of Iframely hosted on dockerhub. So, I assume that you build your docker image yourself.

Can you try if the following steps work? (Run it on your ARM based system.)

  • Checkout the repository.
  • Edit https://github.com/itteco/iframely/blob/master/Dockerfile#L1
  • Set the first line to FROM arm64v8/node:12.18-alpine3.12 (alternatives are arm32v7/node and arm32v6/node)
  • Create docker the image docker build -t iframely-local .
  • Run the docker image with docker run -p 8061:8061 -t iframely-local -e NODE_ENV="production"
  • Try out if the container works curl "localhost:8061/oembed?url=https://github.com/itteco/iframely/pull/296"

@Jojonintendo
Copy link
Author

Many thanks for your detailed reply. Unfortunately now iframely is no longer needed for my project. I'm sure someone more qualified than me will be able to work with these instructions. Thanks again for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants