mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-11 12:05:41 +03:00
fix: try to update node repo script
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
aa17fc97ad
commit
64e346169d
13
Dockerfile
13
Dockerfile
@ -8,6 +8,8 @@ RUN set -ex; \
|
|||||||
apt-get -y --no-install-recommends install \
|
apt-get -y --no-install-recommends install \
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
curl
|
||||||
|
gnupg
|
||||||
wget \
|
wget \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
xvfb \
|
xvfb \
|
||||||
@ -26,13 +28,16 @@ RUN set -ex; \
|
|||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
libpixman-1-0; \
|
libpixman-1-0; \
|
||||||
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/*; \
|
||||||
|
sudo mkdir -p /etc/apt/keyrings; \
|
||||||
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg;
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
RUN wget -qO- https://deb.nodesource.com/setup_18.x | bash; \
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo 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 wget; \
|
||||||
|
Loading…
Reference in New Issue
Block a user