28 lines
727 B
Docker
28 lines
727 B
Docker
FROM jenkins/jenkins:2.516.2-jdk21
|
|
|
|
USER root
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
wget \
|
|
curl \
|
|
git \
|
|
bash \
|
|
yq \
|
|
jq \
|
|
zip \
|
|
unzip \
|
|
tar \
|
|
lsb-release \
|
|
ca-certificates \
|
|
apt-transport-https \
|
|
gnupg
|
|
|
|
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
|
|
|
|
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow json-path-api" |