Skip to content

Instantly share code, notes, and snippets.

@daxroc
Created January 31, 2018 14:21
Show Gist options
  • Save daxroc/bad4c3cb0c0c5c9f73c774b4bea89abf to your computer and use it in GitHub Desktop.
Save daxroc/bad4c3cb0c0c5c9f73c774b4bea89abf to your computer and use it in GitHub Desktop.
Create a Docker jenkins-agent with custom toolchain
FROM jenkinsci/jnlp-slave
USER root
RUN apt-get update && apt-get install whatever
USER jenkins
ENTRYPOINT ["jenkins-slave"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment