>
> I've opened https://github.com/geotools/geotools/pull/5152 to update the
> runner OS for most workflows, but have left the GDAL linux builds for
> now as the libgdal-java package is not available for 22.04 or 24.04
> (that I know of) so these builds would fail anyway trying to install the
> apt package.
>
> If anyone has any ideas?
>

Can we use any docker image for the github actions?
According to the GDAL full docker image docs
<https://github.com/OSGeo/gdal/tree/master/docker#full-ghcrioosgeogdalubuntu-full-latest-aliased-to-osgeogdal>,
it does support JNI bindings

Caveats: this image is pretty large and comes with java 17
Example:

> docker run -it --rm ghcr.io/osgeo/gdal:ubuntu-full-latest /bin/bash

root@05492ee4e5ef:/# java --version
openjdk 17.0.13 2024-10-15
OpenJDK Runtime Environment (build 17.0.13+11-Ubuntu-2ubuntu124.04)
OpenJDK 64-Bit Server VM (build 17.0.13+11-Ubuntu-2ubuntu124.04, mixed
mode, sharing)

root@05492ee4e5ef:/# find . -name "*gdal*.so"
*./usr/lib/x86_64-linux-gnu/jni/libgdalalljni.so*
./usr/lib/x86_64-linux-gnu/libgdal.so

Cheers
Andrea
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to