Skip to content

Instantly share code, notes, and snippets.

@parj
Created May 23, 2018 04:49
Show Gist options
  • Save parj/463f4771db5265e8ff7158aea473caf7 to your computer and use it in GitHub Desktop.
Save parj/463f4771db5265e8ff7158aea473caf7 to your computer and use it in GitHub Desktop.
Kubernetes Jenkins Dockerfile
from jenkins/jenkins:lts
# Distributed Builds plugins
RUN /usr/local/bin/install-plugins.sh ssh-slaves
# 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 apt-get update && apt-get install -y maven
USER jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment