Created
December 10, 2020 04:55
-
-
Save solvingj/6a9dbcea540d43ff2342776a52844714 to your computer and use it in GitHub Desktop.
Jenkins dockerfile plugins won't download
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jenkins/jenkins:2.263.1-lts-centos | |
USER root | |
RUN rm -f /etc/yum.repos.d/github_git-lfs.repo | |
RUN yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
RUN yum -y update \ | |
&& yum install -y \ | |
curl \ | |
git \ | |
docker-ce \ | |
docker-ce-cli \ | |
containerd.io | |
RUN jenkins-plugin-cli --verbose --plugins \ | |
configuration-as-code \ | |
credentials-binding \ | |
pipeline-model-definition \ | |
job-dsl \ | |
cloudbees-folder \ | |
strict-crumb-issuer \ | |
copyartifact \ | |
docker-workflow \ | |
git-client \ | |
git-parameter \ | |
git-changelog \ | |
github \ | |
github-api \ | |
github-branch-source \ | |
ws-cleanup \ | |
pipeline-utility-steps \ | |
http_request \ | |
pipeline-build-step \ | |
blueocean | |
COPY configs/* /home/jenkins/configs/ | |
ENV JAVA_OPTS=-Djenkins.install.runSetupWizard=false | |
ENV CASC_JENKINS_CONFIG=/home/jenkins/configs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment