gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Regularly update container images

Open HendrikSchrieber opened this issue 6 months ago • 2 comments

Feature description

Currently, GDAL container images are only updated if there are changes to GDAL itself or its build process. Therefore, it sometimes takes a while before a new image version is released. In the meantime, many vulnerabilities are discovered especially those concerning operating systems which will exist within the container base image used by GDAL.

To mitigate vulnerabilities in a timely manner it would be beneficial to rebuild GDAL container images e.g. whenever base image vulnerabilities become known or on a fixed schedule (e.g. weekly). This process can (and probably should) be automated by using GitHub actions, for example.

Additional context

No response

HendrikSchrieber avatar Jun 24 '25 12:06 HendrikSchrieber

This process can (and probably should) be automated by using GitHub actions, for example.

I'm afraid that the fact we build ARM64 images along side the x86_64 ones makes build time so long (particularly for the Alpine based images where there is no cross-compiler, and the ARM64 compiler itself is run with qemu emulation) than the 6 hours limit for a job will not be enough.

rouault avatar Jul 05 '25 20:07 rouault

Cf https://github.com/OSGeo/gdal/pull/13066 for progress on that topic

rouault avatar Sep 11 '25 13:09 rouault