Browse Source

Add build tools installation

master
Apostolos Fanakis 5 years ago
parent
commit
23d3871194
  1. 10
      jenkins/Dockerfile

10
jenkins/Dockerfile

@ -1,17 +1,17 @@
FROM jenkins/jenkins:lts FROM jenkins/jenkins:lts
LABEL maintainer="apotwohd@gmail.com" LABEL maintainer="apotwohd@gmail.com"
# Preps Jenkins directories
USER root USER root
# Preps Jenkins directories
RUN mkdir /var/log/jenkins RUN mkdir /var/log/jenkins
RUN mkdir /var/cache/jenkins RUN mkdir /var/cache/jenkins
RUN chown -R jenkins:jenkins /var/log/jenkins RUN chown -R jenkins:jenkins /var/log/jenkins
RUN chown -R jenkins:jenkins /var/cache/jenkins RUN chown -R jenkins:jenkins /var/cache/jenkins
# Installs docker inside container # Installs tools needed when installing npm packages
# ATENTION: version MUST be the same as host's docker installation! RUN apt update
# ARG VERSION=18.09 RUN apt install -y build-essential
# RUN curl -fsSL https://get.docker.com -o get-docker.sh | sh
# Generates an SSH key-pair to use with Gitlab # Generates an SSH key-pair to use with Gitlab
# TODO: replace placeholder email (note that this is not really necessary) # TODO: replace placeholder email (note that this is not really necessary)

Loading…
Cancel
Save