Newer versions of gdal are lacking drivers on alpine
Hi, I noticed that on newer version's of alpine's gdal-dev, I'm unable to use some drivers. In my case, I was trying to create a PNG with gdal_translate, and would get errors like 'Output driver `PNG' not recognised'
Steps to reproduce this regression:
3.17 Dockerfile (uses gdal-dev 3.5.3):
FROM alpine:3.17
RUN apk update && apk add --no-cache bash gdal-dev gdal-tools
ENTRYPOINT ["/bin/bash"]
When running the image and attaching a tty:
58a7a8756eeb:/# gdalinfo --version
GDAL 3.5.3, released 2022/10/21
58a7a8756eeb:/# gdalinfo --formats | grep PNG
PNG -raster- (rwv): Portable Network Graphics
Now, with alpine 3.18 (gdal-dev 3.6.4, same with 3.7.0 on edge)
FROM alpine:3.18
RUN apk update && apk add --no-cache bash gdal-dev gdal-tools
ENTRYPOINT ["/bin/bash"]
e339ec20d804:/# gdalinfo --version
GDAL 3.6.4, released 2023/04/17
e339ec20d804:/# gdalinfo --formats | grep PNG
e339ec20d804:/#
cc @hjaekel