Closed petr-pokorny-1 closed 2 years ago
@petr-pokorny-1 Not sure what the issue with alpine would be - I've used this library in docker in production for a few years now without issue, but not with alpine just using a normal node image and the prebuilt binaries. I would think you're probably missing something with linking your preinstalled gdal with the module. Make sure you follow the instructions in the readme and do npm install gdal-next --build-from-source --shared_gdal
to use your system gdal.
@contra I couldn't figure out why it does not work with Alpine, but it started working when I used osgeo/gdal:ubuntu-small-latest
as a base image and installed node on it. I did not need libgdal-dev
and --build-from-source
- it just worked out of the box.
Thank you for your help and for maintaining this library!
I couldn't figure out why it does not work with Alpine, but it started working when I used
osgeo/gdal:ubuntu-small-latest
as a base image and installed node on it. I did not needlibgdal-dev
and--build-from-source
- it just worked out of the box.
@petr-pokorny-1 have you also succeeded with alpine? I am making attempts here: https://github.com/opengeo-tech/geotiff-picker/blob/master/Dockerfile#L5
Hi, I am wondering if anyone has the luck to use this binding in docker. I used node 14 on alpine 3.14 and installed GDAL (following osgeo/gdal official image), but I am getting the following error when I try to run the container: