From 7ca966ce39ece2db1eaa8e1259d5194ce64271c0 Mon Sep 17 00:00:00 2001 From: Koenkk Date: Wed, 7 Nov 2018 20:25:38 +0100 Subject: [PATCH] npm is not installed by default anymore in Alpine. --- docker/Dockerfile.amd64 | 2 +- docker/Dockerfile.arm32v6 | 2 +- docker/Dockerfile.arm64v8 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 0e5d4a0e4..963aba8e6 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -12,7 +12,7 @@ ARG COMMIT RUN echo "{\"hash\": \"$COMMIT\"}" > .hash.json # Install dependencies -RUN apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 git && \ +RUN apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 npm=8.11.4-r0 git && \ npm install --unsafe-perm && \ apk del make gcc g++ python linux-headers udev git diff --git a/docker/Dockerfile.arm32v6 b/docker/Dockerfile.arm32v6 index e97862749..2a9271786 100644 --- a/docker/Dockerfile.arm32v6 +++ b/docker/Dockerfile.arm32v6 @@ -14,7 +14,7 @@ ADD . /app RUN [ "qemu-arm-static", "/bin/sh", "-c", \ "cp /app/data/configuration.yaml /app && \ cp /app/docker/run.sh /app && chmod +x /app/run.sh && \ - apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 git && \ + apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 npm=8.11.4-r0 git && \ npm install --unsafe-perm && \ apk del make gcc g++ python linux-headers udev git"] diff --git a/docker/Dockerfile.arm64v8 b/docker/Dockerfile.arm64v8 index fe2f794b8..13ccb1269 100644 --- a/docker/Dockerfile.arm64v8 +++ b/docker/Dockerfile.arm64v8 @@ -14,7 +14,7 @@ ADD . /app RUN [ "qemu-aarch64-static", "/bin/sh", "-c", \ "cp /app/data/configuration.yaml /app && \ cp /app/docker/run.sh /app && chmod +x /app/run.sh && \ - apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 git && \ + apk add --update --no-cache make gcc g++ python linux-headers udev nodejs=8.11.4-r0 npm=8.11.4-r0 git && \ npm install --unsafe-perm && \ apk del make gcc g++ python linux-headers udev git"]