Skip to content

Instantly share code, notes, and snippets.

@suraphanL
Created September 24, 2016 07:55
Show Gist options
  • Save suraphanL/695d421f07c8a7d353c28573816e2ec2 to your computer and use it in GitHub Desktop.
Save suraphanL/695d421f07c8a7d353c28573816e2ec2 to your computer and use it in GitHub Desktop.
FROM jenkinsci/jenkins:2.0
USER root
RUN mkdir /var/log/jenkins
RUN mkdir /var/cache/jenkins
RUN chown -R jenkins:jenkins /var/log/jenkins
RUN chown -R jenkins:jenkins /var/cache/jenkins
USER jenkins
ENV JAVA_OPTS="-Xmx8192m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment