tileserver-gl icon indicating copy to clipboard operation
tileserver-gl copied to clipboard

Docker light image doesn't start

Open zakjan opened this issue 5 years ago • 1 comments

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.

zakjan avatar Aug 07 '20 09:08 zakjan

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 .

nigelsim avatar Nov 09 '21 04:11 nigelsim