Last active
August 29, 2015 14:05
-
-
Save cheinema/57d135899b10841fb49f to your computer and use it in GitHub Desktop.
Dockerfiles/ubuntu-jenkins-slave
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 ubuntu:14.04 | |
MAINTAINER Christian Heinemann <ch@chlab.net> | |
RUN apt-get update | |
RUN apt-get install -y openssh-server | |
RUN apt-get install -y openjdk-7-jre-headless | |
RUN apt-get install -y git-core | |
# Setup SSH server | |
RUN mkdir -p /var/run/sshd | |
RUN adduser --disabled-password jenkins | |
RUN echo "jenkins:jenkins" | chpasswd | |
EXPOSE 22 | |
CMD ["/usr/sbin/sshd", "-D"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment