As you can see in this Github Repo, there is a file called init.groovy . And in the Docker file there is a statement like
COPY init.groovy /SOME/PATH/IN/THE/CONTAINER
If you want to use this Docker file, you also need to download init.groovy. But there are some more COPY statements in this Docker file.
I don’t know if you need such a large Docker file for your needs.
ParentImage DockerHub.
FROM jenkins/jenkins:2.73.3
USER root
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >
/etc/timezone
USER jenkins
.