Last active
January 29, 2019 11:55
-
-
Save michelmarciano/b514fc764f2d8ebec20c70469da7bb70 to your computer and use it in GitHub Desktop.
dockerFile 02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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