mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-11 12:05:41 +03:00
fix: remove outdated node script
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
5761da6228
commit
3f20943134
12
Dockerfile
12
Dockerfile
@ -39,7 +39,7 @@ RUN mkdir -p /etc/apt/keyrings; \
|
|||||||
apt-get -qq update; \
|
apt-get -qq update; \
|
||||||
apt-get install -y nodejs; \
|
apt-get install -y nodejs; \
|
||||||
npm i -g npm@latest; \
|
npm i -g npm@latest; \
|
||||||
apt-get -y remove curl; \
|
apt-get -y remove curl gnupg; \
|
||||||
apt-get -y --purge autoremove; \
|
apt-get -y --purge autoremove; \
|
||||||
apt-get clean; \
|
apt-get clean; \
|
||||||
rm -rf /var/lib/apt/lists/*;
|
rm -rf /var/lib/apt/lists/*;
|
||||||
@ -68,7 +68,8 @@ RUN set -ex; \
|
|||||||
apt-get -qq update; \
|
apt-get -qq update; \
|
||||||
apt-get -y --no-install-recommends install \
|
apt-get -y --no-install-recommends install \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
wget \
|
curl \
|
||||||
|
gnupg \
|
||||||
xvfb \
|
xvfb \
|
||||||
libglfw3 \
|
libglfw3 \
|
||||||
libuv1 \
|
libuv1 \
|
||||||
@ -87,10 +88,13 @@ RUN set -ex; \
|
|||||||
|
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
RUN wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
RUN mkdir -p /etc/apt/keyrings; \
|
||||||
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg; \
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
|
||||||
|
apt-get -qq update; \
|
||||||
apt-get install -y nodejs; \
|
apt-get install -y nodejs; \
|
||||||
npm i -g npm@latest; \
|
npm i -g npm@latest; \
|
||||||
apt-get -y remove wget; \
|
apt-get -y remove curl gnupg; \
|
||||||
apt-get -y --purge autoremove; \
|
apt-get -y --purge autoremove; \
|
||||||
apt-get clean; \
|
apt-get clean; \
|
||||||
rm -rf /var/lib/apt/lists/*;
|
rm -rf /var/lib/apt/lists/*;
|
||||||
|
Loading…
Reference in New Issue
Block a user