Skip to content
Snippets Groups Projects
Commit b9c8614e authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update centos-full:7

parent b6e3c37b
No related branches found
No related tags found
No related merge requests found
......@@ -21,5 +21,5 @@ FROM centos:7.4.1708
RUN /usr/bin/ssh-keygen -A
RUN ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa -q
RUN cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
RUN chmod og-wx ~/.ssh/authorized_keys
RUN ssh-keyscan -H -t rsa localhost,`hostname -i` >> ~/.ssh/known_hosts
RUN ssh-keyscan -H -t rsa localhost,$(hostname -i) >> ~/.ssh/known_hosts
RUN chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment