Create privilege separation directory

This commit is contained in:
Knut Ahlers 2014-11-16 16:51:01 +01:00
parent aa09cd0eba
commit 5343a71b13

View file

@ -5,7 +5,8 @@ ENV USER share
ENV PASS changeme ENV PASS changeme
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y openssh-server mcrypt apt-get install -y openssh-server mcrypt && \
mkdir /var/run/sshd && chmod 0755 /var/run/sshd
ADD start.sh /usr/local/bin/start.sh ADD start.sh /usr/local/bin/start.sh
ADD sshd_config /etc/ssh/sshd_config ADD sshd_config /etc/ssh/sshd_config