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

Endurain on raspberry pi #16

Closed
gwenvador opened this issue Jul 4, 2024 · 6 comments
Closed

Endurain on raspberry pi #16

gwenvador opened this issue Jul 4, 2024 · 6 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@gwenvador
Copy link

Is there a docker version compatible with arm processor? Currently endurain does not run on a raspberry pi.

@joaovitoriasilva joaovitoriasilva added the good first issue Good for newcomers label Jul 10, 2024
@joaovitoriasilva joaovitoriasilva self-assigned this Jul 10, 2024
@joaovitoriasilva
Copy link
Owner

Hello, thanks for reaching out. I will check this today. Nevertheless can you share some logs of the error you are getting?

Thank you

@gwenvador
Copy link
Author

Hi. I have issue on the backend and frontend containers.

  • for backend: exec /usr/local/bin/uvicorn: exec format error
  • for frontend: exec /usr/local/bin/docker-php-entrypoint: exec format error

@joaovitoriasilva
Copy link
Owner

Hello again. The current image only supports amd64 architecture. In the next release (maybe next week??) it will support multi arch (amd64 and arm64).

In the meantime you can build locally by changing the backend and frontend docker image files.

  • Backend:
# Change line 1 from FROM python:3.11 to:
FROM arm32v7/python:3.11 # if arm 32 bits
FROM arm64v8/python:3.11 # if arm 64 bits
  • Frontend:
# Change line 2 from FROM node:20-alpine as build-stage to:
FROM arm32v7/node:20-alpine as build-stage # if arm 32 bits
FROM arm64v8/node:20-alpine as build-stage # if arm 64 bits
# Change line 21 from FROM nginx:alpine as production-stage to:
FROM arm32v7/nginx:alpine as production-stage # if arm 32 bits
FROM arm64v8/nginx:alpine as production-stage # if arm 64 bits

I can't test this because I don't have an arm device like a Raspberry Pi to test it. I appreciate your feedback on this and if you need further assistance, please reach out.

@joaovitoriasilva
Copy link
Owner

Hello again, can you try with tag "dev_24072024" instead of "latest"?

Thank you.

@gwenvador
Copy link
Author

Hi. The docker image are correctly pulled for the raspberry pi. Thanks for that.

@joaovitoriasilva
Copy link
Owner

You're welcome. Later today or tomorrow I will release version 0.3.0 that has this change and fixes a couple of bugs present in this dev release.

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

No branches or pull requests

2 participants