You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
571 B
Docker
12 lines
571 B
Docker
FROM jenkins/jenkins:lts-jdk11
|
|
USER root
|
|
RUN apt-get update && apt-get install -y lsb-release
|
|
RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \
|
|
https://download.docker.com/linux/debian/gpg
|
|
RUN echo "deb [arch=$(dpkg --print-architecture) \
|
|
signed-by=/usr/share/keyrings/docker-archive-keyring.asc] \
|
|
https://download.docker.com/linux/debian \
|
|
$(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
|
|
RUN apt-get update && apt-get install -y docker-ce-cli
|
|
USER jenkins
|
|
RUN jenkins-plugin-cli --plugins "blueocean:1.25.3 docker-workflow:1.28" |