Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created March 30, 2020 18:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bharatmicrosystems/c78ff684e500fbbe1fa46acd44fe2f87 to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/c78ff684e500fbbe1fa46acd44fe2f87 to your computer and use it in GitHub Desktop.
FROM jenkins/jenkins:centos
# Distributed Builds plugins
RUN /usr/local/bin/install-plugins.sh ssh-slaves
#
# # install Notifications and Publishing plugins
RUN /usr/local/bin/install-plugins.sh email-ext
RUN /usr/local/bin/install-plugins.sh mailer
RUN /usr/local/bin/install-plugins.sh slack
#
# # Artifacts
RUN /usr/local/bin/install-plugins.sh htmlpublisher
#
# # UI
RUN /usr/local/bin/install-plugins.sh greenballs
RUN /usr/local/bin/install-plugins.sh simple-theme-plugin
#
# # Scaling
RUN /usr/local/bin/install-plugins.sh kubernetes
#
# # install Maven
USER root
RUN yum update -y && yum install -y maven
USER jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment