Hello, I had a docker file to generate a docker image with the desired plugins installed. That docker file was using
install-plugins.sh script. But after I downloaded the latest jenkins docker image, it has stoped working and gives me the following error:
install-plugins.sh has been removed, please switch to jenkins-plugin-cli
But I have not been able to see how to run the jenkins cli during docker build. Could anybody provide a small dockerfile example so I can build my docker with the desired plugins?
My current dockerfile is the follwoing:
FROM jenkins/jenkins:lts-jdk11 LABEL maintainer="email@example.com" ENV JENKINS_USER my_user ENV JENKINS_PASS my_password ENV JAVA_OPTS -Djenkins.install.runSetupWizard=true RUN /usr/local/bin/install-plugins.sh bitbucket-build-status-notifier atlassian-jira-software-cloud docker-plugin docker-workflow blueocean
Thank you very much.