From 2d49dd77f8924e1df0df81d4e70dcf69291f6587 Mon Sep 17 00:00:00 2001 From: fabrice Date: Thu, 13 Dec 2018 15:28:50 +0000 Subject: [PATCH] Add 'Dockerfile' --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f66be3f --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file