maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.17k stars 629 forks source link

Docker light image doesn't start #468

Open zakjan opened 4 years ago

zakjan commented 4 years ago

Docker light image built from the latest master (042b8b9) doesn't start, it fails with error.

docker build -t tileserver-gl-light -f Dockerfile_light .

docker run --rm -it -v $(pwd):/data -p 8080:80 tileserver-gl-light

/usr/src/app/node_modules/@mapbox/mapbox-gl-native/platform/node/index.js:1
Error: libEGL.so.1: cannot open shared object file: No such file or directory
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)

I suppose it is related to mapbox-gl-native upgrade.

nigelsim commented 2 years ago

Make sure you're following the instructions from README_light.md

git clone https://github.com/maptiler/tileserver-gl.git cd tileserver-gl node publish.js --no-publish cd light docker build -t tileserver-gl-light .