Add 'Dockerfile'
This commit is contained in:
parent
7c0cb6303e
commit
2d49dd77f8
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
From jenkins/jenkins:latest
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN apt-get update -qq \
|
||||||
|
&& apt-get install -qqy apt-transport-https ca-certificates curl gnupg2 software-properties-common
|
||||||
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||||
|
RUN add-apt-repository \
|
||||||
|
"deb [arch=amd64] https://download.docker.com/linux/debian \
|
||||||
|
$(lsb_release -cs) \
|
||||||
|
stable"
|
||||||
|
RUN apt-get update -qq \
|
||||||
|
&& apt-get install docker-ce=17.12.1~ce-0~debian -y
|
||||||
|
RUN usermod -aG docker jenkins
|
Loading…
Reference in New Issue
Block a user