Update to node 18
This commit is contained in:
parent
a890382120
commit
327e92d28c
5 changed files with 6 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ RUN set -ex; \
|
|||
librsvg2-dev \
|
||||
libcurl4-openssl-dev \
|
||||
libpixman-1-dev; \
|
||||
wget -qO- https://deb.nodesource.com/setup_16.x | bash; \
|
||||
wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
||||
apt-get install -y nodejs; \
|
||||
apt-get -y remove wget; \
|
||||
apt-get -y --purge autoremove; \
|
||||
|
|
@ -61,7 +61,7 @@ RUN set -ex; \
|
|||
libcurl4 \
|
||||
librsvg2-2 \
|
||||
libpango1.0; \
|
||||
wget -qO- https://deb.nodesource.com/setup_16.x | bash; \
|
||||
wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
||||
apt-get install -y nodejs; \
|
||||
apt-get -y remove wget; \
|
||||
apt-get -y --purge autoremove; \
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ RUN set -ex; \
|
|||
apt-get -y --no-install-recommends install \
|
||||
ca-certificates \
|
||||
wget; \
|
||||
wget -qO- https://deb.nodesource.com/setup_16.x | bash; \
|
||||
wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
||||
apt-get install -y nodejs; \
|
||||
apt-get -y remove wget; \
|
||||
apt-get -y --purge autoremove; \
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ RUN set -ex; \
|
|||
librsvg2-dev \
|
||||
libcurl4-openssl-dev \
|
||||
libpixman-1-dev; \
|
||||
wget -qO- https://deb.nodesource.com/setup_16.x | bash; \
|
||||
wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
||||
apt-get install -y nodejs; \
|
||||
apt-get clean;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Vector and raster maps with GL styles. Server-side rendering by MapLibre GL Nati
|
|||
Download vector tiles from [OpenMapTiles](https://data.maptiler.com/downloads/planet/).
|
||||
## Getting Started with Node
|
||||
|
||||
Make sure you have Node.js version **14.20.0** or above installed. Node 16 is recommended. (running `node -v` it should output something like `v16.x.x`). Running without docker requires [Native dependencies](https://tileserver.readthedocs.io/en/latest/installation.html#npm) to be installed first.
|
||||
Make sure you have Node.js version **14.20.0** or above installed. Node 18 is recommended. (running `node -v` it should output something like `v18.x.x`). Running without docker requires [Native dependencies](https://tileserver.readthedocs.io/en/latest/installation.html#npm) to be installed first.
|
||||
|
||||
Install `tileserver-gl` with server-side raster rendering of vector tiles with npm.
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
],
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"node": ">=14.15.0 <17"
|
||||
"node": ">=14.15.0 <19"
|
||||
},
|
||||
"repository": {
|
||||
"url": "git+https://github.com/maptiler/tileserver-gl.git",
|
||||
|
|
|
|||
Loading…
Reference in a new issue