Jenkins/Dockerfile

13 lines
459 B
Docker
Raw Normal View History

2018-12-13 15:28:50 +00:00
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 \
2023-03-21 20:55:06 +00:00
&& apt-get install docker-ce -y
2018-12-13 15:28:50 +00:00
RUN usermod -aG docker jenkins