If I have a jenkins docker image:
FROM jenkins/jenkins:lts
is there a way to pre-install certain plugins using the Docker image, for example all the bitbucket plugins:
I assume we'd probably have to unpack some tars to the filesystem somewhere like so:
FROM jenkins/jenkins:lts
USER root
WORKDIR /jenkins/main/dir
RUN tar -xvf some-jenkins-plugins.tar