Skip to content

Instantly share code, notes, and snippets.

@michelmarciano
Last active January 29, 2019 11:55
Show Gist options
  • Save michelmarciano/b514fc764f2d8ebec20c70469da7bb70 to your computer and use it in GitHub Desktop.
Save michelmarciano/b514fc764f2d8ebec20c70469da7bb70 to your computer and use it in GitHub Desktop.
dockerFile 02
FROM jenkins/jenkins:2.112
USER root
RUN apt-get update && apt-get install -y make git openjdk-8-jdk
USER jenkins
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment