May 2018
Intermediate to advanced
554 pages
13h 51m
English
Run Jenkins by Kubernetes, we use an official image (https://hub.docker.com/u/jenkins/) but customize it to install the following applications on it:
To do that, prepare Dockerfile to maintain your own Jenkins image:
$ cat DockerfileFROM jenkins/jenkins:ltsEXPOSE 8080 50000# install Docker CE for Debian : https://docs.docker.com/engine/installation/linux/docker-ce/debian/USER rootRUN apt-get updateRUN apt-get install -y sudo apt-transport-https ca-certificates curl gnupg2 software-properties-commonRUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. ...
Read now
Unlock full access