Created
September 3, 2015 15:53
-
-
Save boehlke/c6f012892c813ca54918 to your computer and use it in GitHub Desktop.
jenkins with docker (hack, not portable)
This file contains hidden or 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 | |
USER root | |
RUN groupadd -g 999 hostdocker && usermod -G hostdocker -a jenkins | |
RUN wget https://get.docker.io/builds/Linux/x86_64/docker-1.7.1 -O /usr/local/bin/docker && chmod +x /usr/local/bin/docker | |
USER jenkins | |
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment