From 0f1801528f75fd1b50ec61b3599a7c12da665238 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 7 Jan 2025 14:56:14 +0100 Subject: [PATCH] RUN apt-get update && \ apt-get -qy full-upgrade && \ apt-get install -qy curl && \ curl -sSL https://get.docker.com/ | sh && \ apt-get install -y maven && \ apt-get install -y nodejs && \ apt-get install -y npm --- jenkins/dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/jenkins/dockerfile b/jenkins/dockerfile index 0f8de26..33431a7 100644 --- a/jenkins/dockerfile +++ b/jenkins/dockerfile @@ -5,7 +5,11 @@ USER root RUN apt-get update && \ apt-get -qy full-upgrade && \ apt-get install -qy curl && \ - curl -sSL https://get.docker.com/ | sh -RUN apt-get install -y maven -RUN apt install nodejs -y -RUN git config --global --add safe.directory '*' \ No newline at end of file + curl -sSL https://get.docker.com/ | sh && \ + apt-get install -y maven && \ + apt-get install -y nodejs && \ + apt-get install -y npm + +RUN git config --global --add safe.directory '*' + +USER jenkins \ No newline at end of file