From 23d387119420588c9d88cceab0ebc64b9674d45e Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 21 Mar 2020 21:44:14 +0200 Subject: [PATCH] Add build tools installation --- jenkins/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jenkins/Dockerfile b/jenkins/Dockerfile index 83a3b8a..254ce57 100644 --- a/jenkins/Dockerfile +++ b/jenkins/Dockerfile @@ -1,17 +1,17 @@ FROM jenkins/jenkins:lts LABEL maintainer="apotwohd@gmail.com" -# Preps Jenkins directories USER root + +# Preps Jenkins directories RUN mkdir /var/log/jenkins RUN mkdir /var/cache/jenkins RUN chown -R jenkins:jenkins /var/log/jenkins RUN chown -R jenkins:jenkins /var/cache/jenkins -# Installs docker inside container -# ATENTION: version MUST be the same as host's docker installation! -# ARG VERSION=18.09 -# RUN curl -fsSL https://get.docker.com -o get-docker.sh | sh +# Installs tools needed when installing npm packages +RUN apt update +RUN apt install -y build-essential # Generates an SSH key-pair to use with Gitlab # TODO: replace placeholder email (note that this is not really necessary)