qgis / qgis-docker

Official Docker image for QGIS Server and Desktop
GNU Affero General Public License v3.0
67 stars 21 forks source link

Build an arm64 image #73

Closed mvaivre closed 1 year ago

mvaivre commented 2 years ago

First of all, thanks for this image that has been working perfectly fine for me for months ;)

Docker is encouraging image maintainers to provide arm64 images, as many developers are now switching to arm64 platforms (new macs.).

Making this image available for the arm64 platform would make it future proof, and would be awesome.

https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

mbernasocchi commented 2 years ago

hey, @mvaivre indeed, it would be great, I've seen that you managed to create one on docker hub, would you care to open a PR so that we can integrate in this image? Cheers Marco

mbernasocchi commented 2 years ago

@mvaivre are your dockerfiles available somewhere?

mvaivre commented 2 years ago

Hey Marco, sorry for missing your previous comment.

From what I remember, I haven't modified any of your dockerfiles : it's only a "build-step" thing.

If you take a look at the link shared in the first comment, building multi-platform images can be done with a single command with docker's buildx, and it's probably what I did.

In order to get this in you CI/CD setup, you would need to adapt your Github Actions build script in order to use docker buildx instead of docker build.

3nids commented 1 year ago

thanks for the input @mvaivre