Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

FROM centos

RUN yum update -y
RUN yum install vim git -y
RUN yum install openssh-server -y

RUN mkdir /root/.ssh
RUN touch /root/.ssh/authorized_keys

COPY ./*.pub /root/.ssh/id_rsa.pub

RUN ssh-keygen -P "" -t rsa -f /etc/ssh/ssh_host_rsa_key

RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys

RUN chmod 500 /root/.ssh
RUN chmod 500 /root/.ssh/authorized_keys

Docker Pull Command
Owner
seppho