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

Support armv7l #158

Closed
danpoltawski opened this issue Aug 5, 2022 · 5 comments
Closed

Support armv7l #158

danpoltawski opened this issue Aug 5, 2022 · 5 comments

Comments

@danpoltawski
Copy link
Contributor

It'd be nice to support armv7l so can run on rpi4 (at least for simple dbs)

@andrewnicols
Copy link
Contributor

Hi Dan,

We currently cross-compile during the GHA build.

Do you know whether armv7l support is included in the arm arch? The php image is available for both arm64, and arm (https://hub.docker.com/_/php), but the Docker docs are impressively vague on the compatibility: https://docs.docker.com/desktop/multi-arch/ and the DockerHub official image include arm32v6, arm32v7, and arm64v8 but not arm. I'm assuming that the arm arch covers the 32-bit variants but I haven't been able to find anything to confirm and I don't have a spare Rpi4 hanging around to just check.

If you're able to submit a PR then I can review.

@danpoltawski
Copy link
Contributor Author

The php images are working - I just made a simplified dockerfile and was able to build from FROM php:8.0-apache-bullseye - although I note that the Moodle environment page warns about using 32bit php, not sure if that means there are big potential problems?

@stronk7
Copy link
Member

stronk7 commented Aug 6, 2022

I'm ok building the arm32v7 architecture images, np with that.

Only question that I've about that is if we really need them, specifically for the Raspi... they have arm64 cpus since ages ago (2017 or earlier) and there are 64 OSs for many them... so current arm64[v8] builds should work without problem, isn't it?

https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/

@scara
Copy link
Contributor

scara commented Jan 29, 2023

Hello Everyone,

so current arm64[v8] builds should work without problem, isn't it?

Confirmed via moodlehq/moodle-docker#248 (comment).

HTH,
Matteo

@andrewnicols
Copy link
Contributor

I'm going to close this issue:

  • confirmed as working
  • Moodle 4.2 onwards no longer supports 32-bit anyway.

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

4 participants