Public Repository

Last pushed: a year ago
Short Description
Fedora 20, java 1.7 Jenkins Slave
Full Description

Fedora 20, java 1.7

Login jenkins / jenkins
Dockerfile
FROM fedora:20
MAINTAINER Foo Bar "foo@bar.com"

RUN yum -y update
RUN yum -y install openssh-server
RUN yum -y install supervisor
RUN yum -y install java-1.7.0-openjdk

RUN echo "root:password" | chpasswd
RUN useradd jenkins
RUN echo "jenkins:jenkins" | chpasswd

RUN mkdir -p /var/run/sshd
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
RUN sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd

RUN mkdir -p /var/run/supervisord
ADD supervisord.conf /etc/supervisord.conf

EXPOSE 22
CMD ["/usr/bin/supervisord"]

supervisord.conf
[supervisord]
nodaemon=true

[program:sshd]
command=/usr/sbin/sshd -D

Docker Pull Command
Owner
tnakaki1234

Comments (0)