-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Docker image for arm64 platform #655
Comments
@IncidGeo hi, the #613 tried to add a docker image to the automated build process, but we are having major problems building Arm docker image using github actions -- such that I plan to revert that PR until we have a better solution. I would love to add Arm Martin docker images, but we could really use some help to automate it in a reliable way. It seems the docker images for different platforms need to somehow be combined together into a single package (?) before uploading them to the ghcr? |
Thank you nyurik. So to date there is'nt even a non-perfect solution to dockerize martin in the development phase ? |
@IncidGeo define "non-perfect" :) There is a simple solution - you can just build it yourself instead of relying on a public docker image. If you have an arm64 machine somewhere, simply build the arm64.docker file on it, and use it. |
It's beyond my skills, but I'll look into it, thank you. |
it's actually pretty simple:
|
This reverts commit c358ec5, as well as any other related changes to the docker github action. It is clearly not working, while also not allowing us to build proper releases quicker. Several ways to fix: * Use 3rd party CI service to just build multi-platform docker images * Use cross-compilation wiht github actions * (???) See also #655, #603 and #505
Thank you very much nyurik.
dockefile for postgres (as there is the same problem for arm machine and postgis) :
db.sql : Just need now to figure out how to set up Nginx, django, postgres, martin together in the yml or maybe in the nginx conf file because Martin can't connect to the database while django/Gunicorn can, but it's an other subject. Edit1 : It is working properly with the github "Using with Docker Compose" example :
and
db.sql : Edit2: Ok i'm such a nut, bridge were missing in the docker-compose.yml, now everything is working fine (i've change the db name and service nam for readability)
|
This is a far simpler CI path: * Compiles Ubuntu targets outside of docker * Copies targets into appropriate docker image * No compilation inside docker - makes it far faster * Runs all integration tests on all platforms using emulation against host-based postgis Fixes maplibre#655
This is a far simpler CI path: * Compiles Ubuntu targets outside of docker * Copies targets into appropriate docker image * No compilation inside docker - makes it far faster * Runs all integration tests on all platforms using emulation against host-based postgis Fixes maplibre#655
Thanks for all the hard work! I was able to finally create a multi-target docker image, and it also gets created much faster because it simply reuses a binary compiled on the host (while still running through all the integration tests). Once #891 merges, and i do a proper release, we should be good to go |
As always super thank you ! |
This is a far simpler CI path: * Compiles Ubuntu targets outside of docker * Copies targets into appropriate docker image * No compilation inside docker - makes it far faster * Runs all integration tests on all platforms using emulation against host-based postgis Fixes #655
Hi there,
I get a "no matching manifest for linux/arm64/v8 in the manifest list entries" message using main docker image.
Is there a arm compatible Docker image for Martin ?
Thanks,
The text was updated successfully, but these errors were encountered: