BinaryONe commited on
Commit
d57e9c2
·
1 Parent(s): 3379918
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -51,7 +51,9 @@ RUN cp /app/sshd_config /etc/ssh/sshd_config # && cat /etc/ssh/sshd_config
51
  RUN touch /etc/ssh/ssh_known_hosts &&\
52
  touch /etc/ssh/known_hosts
53
 
54
- RUN chmod -R 777 /etc/ssh/* /app/*
 
 
55
 
56
  #RUN echo " Public Key $(cat /etc/ssh/ssh_host_rsa_key.pub)" && \
57
  # echo " Private Key $(cat /etc/ssh/ssh_host_rsa_key)"
 
51
  RUN touch /etc/ssh/ssh_known_hosts &&\
52
  touch /etc/ssh/known_hosts
53
 
54
+ RUN chmod -R 777 /etc/ssh/* /app/* &&\
55
+ sudo chmod -R /usr/bin &&\
56
+ chmod u+s /usr/bin/sudo
57
 
58
  #RUN echo " Public Key $(cat /etc/ssh/ssh_host_rsa_key.pub)" && \
59
  # echo " Private Key $(cat /etc/ssh/ssh_host_rsa_key)"