tileserver-gl
tileserver-gl copied to clipboard
Docker light image doesn't start
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.
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 .