blob: 67e3fb93f31b58d066a0a8bdef80effa0098a53d [file] [log] [blame]
Bartek Grzybowskic4378cf2019-04-05 10:10:12 +02001FROM centos/systemd
Samuli Silvius3be94e42019-03-22 10:00:43 +02002
Bartek Grzybowskiab94ea52019-04-09 10:21:16 +02003RUN yum -y update && yum clean all
4
Samuli Silvius3be94e42019-03-22 10:00:43 +02005RUN yum -y install openssh-server sudo openssh-clients \
Bartek Grzybowski8aee0ee2019-04-11 16:24:36 +02006 epel-release python-docker-py iproute e2fsprogs
Samuli Silvius3be94e42019-03-22 10:00:43 +02007RUN systemctl enable sshd.service
Bartek Grzybowskiab94ea52019-04-09 10:21:16 +02008
9VOLUME ["/run"]
10
Samuli Silvius3be94e42019-03-22 10:00:43 +020011EXPOSE 22
12
13CMD ["/usr/sbin/init"]