mirror of
https://github.com/luzifer-docker/sftp-share.git
synced 2024-12-20 14:01:16 +00:00
Create privilege separation directory
This commit is contained in:
parent
aa09cd0eba
commit
5343a71b13
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ ENV USER share
|
|||
ENV PASS changeme
|
||||
|
||||
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 sshd_config /etc/ssh/sshd_config
|
||||
|
|
Loading…
Reference in a new issue