8 lines
249 B
Docker
8 lines
249 B
Docker
FROM centos:7
|
|
RUN yum update -y && yum install -y openssh-server openssh-clients rsync
|
|
RUN mkdir /var/run/sshd
|
|
COPY sshd_config /etc/ssh/sshd_config
|
|
COPY docker-entrypoint.sh /
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|