The Jenkins documentation for installing Jenkins with Docker includes a snippet like the following example Dockerfile:
FROM jenkins/jenkins:2.346.3-jdk11
RUN jenkins-plugin-cli --plugins "blueocean:1.25.6 docker-workflow:1.29"
More details are available at:
The Jenkins 2.346.2 upgrade guide also notes that install-plugins.sh
has been replaced.