Files
importer-labs/jenkins/bootstrap/Dockerfile
T
Collin McNeese 5e5f771af3 updates Jenkins image and plugin versions
Signed-off-by: Collin McNeese <collinmcneese@github.com>
2023-08-17 15:57:38 +00:00

15 lines
523 B
Docker

FROM jenkins/jenkins:2.401.3
ENV JAVA_OPTS -Djenkins.install.runSetupWizard=false
ENV CASC_JENKINS_CONFIG /var/jenkins_home/casc.yaml
# add plugins
COPY $CODESPACE_VSCODE_FOLDER/jenkins/bootstrap/plugins.txt /usr/share/jenkins/ref/plugins.txt
RUN /bin/jenkins-plugin-cli -f /usr/share/jenkins/ref/plugins.txt
# add security perms
COPY $CODESPACE_VSCODE_FOLDER/jenkins/bootstrap/casc.yaml /var/jenkins_home/casc.yaml
# seed with jobs
COPY $CODESPACE_VSCODE_FOLDER/jenkins/bootstrap/pipelines /usr/share/jenkins/ref/jobs