From b07a56760ab8c775f06a2d68a21420e3f8c0eb19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20La=C5=BEa?= Date: Fri, 30 Jun 2023 11:02:09 +0200 Subject: [PATCH] Fix npm in openmaptiles-tools Docker image (#432) * Add npm package * Remove unsupported unsafe-perm npm option --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6239965..514b4799 100644 --- a/Dockerfile +++ b/Dockerfile @@ -118,9 +118,8 @@ RUN set -eux ;\ curl -sL https://deb.nodesource.com/setup_14.x | bash - ;\ DEBIAN_FRONTEND=noninteractive apt-get update ;\ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - nodejs build-essential ;\ + nodejs npm build-essential ;\ rm -rf /var/lib/apt/lists/ ;\ - npm config set unsafe-perm true ;\ npm install -g \ @mapbox/mbtiles@0.12.1 \ @mapbox/tilelive@6.1.1 \