[QGIS-Developer] Docker images built on Github Workflows and published as official

Julien Cabieces julien.cabieces at oslandia.com
Mon Dec 19 05:31:42 PST 2022


Hi,

+1

It looks like the appropriate way to propose offical QGIS Docker
images.

Regards,
Julien


> Hi all,
>
> I would like to raise once more the question of the Docker images we are
> pushing on Docker hub, and considered by many users as official.
>
> They are built here:
> https://github.com/qgis/QGIS/blob/master/.github/workflows/build-docker.yml
>
> There are a few issues regarding this, here is a NON exhaustive list:
> * the images are not optimized, a lot of build env artifacts remain
> * they are a pain to maintain (update the job at each new version,
> synchronize any new cmake option change, …)
> * if it fails, PyQGIS docs are not built
> * it uses cache (which we miss a lot in GH workflows at the moment)
> * and for a bit of green-washing, it will avoid compiling something already
> compiled and ready to used (as debian packages)
>
> At OPENGIS.ch, we have set a very simple automated build of QGIS Docker
> images simply based on the debian packages:
> see:
> https://github.com/opengisch/qgis-docker/blob/master/desktop.Dockerfile#L16
>
> We would like to propose to move this work to the official QGIS repo and
> rely on this to publish docker images on Dockerhub.
>
> + Less work to maintain (also, the deps image will not be anymore a
> requirement for this)
> + Better images
> +/- Separate images for server, desktop
> - We'll rely on nightlies to publish master image (meaning potentially a
> few days delay, potentially for PyQGIS)
> - We won't maintain anymore a Dockerfile used to build QGIS
>
> Please let me know your thoughts.
> Cheers,
> Denis
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the QGIS-Developer mailing list