From c1ebadbece837788046be4b2b9ae23e18e1053ef Mon Sep 17 00:00:00 2001 From: dzikoysk Date: Sun, 2 Jul 2023 00:56:10 +0200 Subject: [PATCH] GH-1869 Remove NPM installation phase from Dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 29a83c956..d1707f3c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,8 @@ FROM openjdk:19-slim AS build COPY . /home/reposilite-build WORKDIR /home/reposilite-build -RUN apt-get update; apt-get install -y curl \ - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\ - apt-get install -y nodejs &&\ - apt-get install -y npm \ +RUN \ + apt-get update; apt-get install -y curl RUN \ export GRADLE_OPTS="-Djdk.lang.Process.launchMechanism=vfork" && \ chmod +x gradlew && \