Re: [gdal-dev] Upgrade or remove Java JDK 17 in GDAL Docker image

2024-09-13 Thread Matt Luck - NOAA Affiliate via gdal-dev
Hi Even, I was able to use ubuntu-small-3.8.4 and that solved our JDK issue for now. Thanks for the suggestion! In addition, I tried a few things to use ubuntu-small-3.8.5 but ran into problems. > docker pull ghcr.io/osgeo/gdal:ubuntu-small-3.8.5 > ubuntu-small-3.8.5: Pulling from osgeo/gdal > b

Re: [gdal-dev] Upgrade or remove Java JDK 17 in GDAL Docker image

2024-09-13 Thread Even Rouault via gdal-dev
How can I resolve this error? You have stripped too much of the logs. There must be some "error: " compilation line before that points to the actual error. Alternatively, we have considered a different solution that uses ubuntu:22.04 as our base image and then installing GDAL but also havin

Re: [gdal-dev] Upgrade or remove Java JDK 17 in GDAL Docker image

2024-09-13 Thread Matt Luck - NOAA Affiliate via gdal-dev
successfully. > │ exit code: 1 > Exception: Python bindings of GDAL 3.8.3 require at least libgdal 3.8.3, > but 3.4.1 was found How can we upgrade libgdal (in our Dockerfile)? Many thanks! Matt -- *From:* Even Rouault *Sent:* Monday, September 9, 202

Re: [gdal-dev] Upgrade or remove Java JDK 17 in GDAL Docker image

2024-09-09 Thread Even Rouault via gdal-dev
Matt, Several potential solutions: 1) Regenerate the Docker image from sources: git clone https://github.com/OSGeo/gdal cd gdal ./docker/ubuntu-full/build.sh 2) Same as 1), but before edit ./docker/ubuntu-full/Dockerfile to remove all traces of java/jdk from it 3) Use the existing im

[gdal-dev] Upgrade or remove Java JDK 17 in GDAL Docker image

2024-09-09 Thread Matt Luck - NOAA Affiliate via gdal-dev
Hi, our IT department has detected a security vulnerability in the Java JDK version 17 that's installed in the ubuntu-full docker image (see message below). I am able to remove the Java files from the Docker image via the Dockerfile and I've tried changing the `JAVA_VERSION` in the Dockerfile, b