g3w-suite / g3w-suite-docker

Run G3W-SUITE stack with docker-compose
https://g3w-suite.readthedocs.io/en/latest/docker.html
30 stars 32 forks source link

Support for ARM and Apple Silicon #122

Open Youssef-Harby opened 3 months ago

Youssef-Harby commented 3 months ago

Checklist

Motivation

As an increasing number of developers and users transition to ARM-based systems, including Apple’s M1 and M2 chips, it is essential for the G3W-Suite-Docker project to support these architectures. This support will enhance the accessibility and performance of the G3W-Suite-Docker on modern hardware, aligning with current industry trends.

Suggested solution

I propose the addition of multi-architecture support for ARM and Apple Silicon. This can be achieved by:

  1. Updating the Dockerfile: Modify the existing Dockerfile to include build instructions for ARM and Apple Silicon.
  2. Using Buildx: Utilize Docker Buildx to create multi-platform images.
  3. CI/CD Integration: Implement continuous integration and deployment pipelines that automatically build and test images for ARM and Apple Silicon architectures.

Alternatives considered

No response

Raruto commented 3 months ago

Hi @Youssef-Harby,

By now, none of us use ARM systems. Start using buildx would be nice, so anyone who can contribute to improve this is welcome.

See also: https://github.com/g3w-suite/g3w-suite-docker/issues/87#issuecomment-1367926144

👋 Raruto

tudorbarascu commented 2 months ago

I tested about 3 months ago and it works under Arm but you need to edit the Dockerfile and build the image yourself (plus QGIS Server packages)

Raruto commented 1 month ago

Glad to hear @tudorbarascu,

if you could also document the necessary steps (eg. within the README.md) it would be the best.

👋 Raruto