Public Repository

Last pushed: a year ago
Short Description
CentOS Linux release 7.2.1511 (Core) Jenkins Slave, openjdk version 1.8.0_91 x64
Full Description

Login jenkins / jenkins or root / password

Dockerfile
FROM wholroyd/centos:latest

MAINTAINER William Holroyd wholroyd@gmail.com

RUN yum -y install openssh-server && \
yum -y install git && \
yum -y install docker

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

RUN yum -y update && yum -y install java initscripts && yum clean all

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

EXPOSE 22

CMD ["/usr/sbin/sshd", "-D"]

Docker Pull Command
Owner
tnakaki1234

Comments (0)