mirror of
https://github.com/atmoz/sftp.git
synced 2024-12-22 13:14:42 -05:00
15 lines
267 B
Text
15 lines
267 B
Text
|
FROM debian:wheezy
|
||
|
MAINTAINER Adrian Dvergsdal
|
||
|
|
||
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openssh-server
|
||
|
|
||
|
RUN mkdir -p /var/run/sshd
|
||
|
|
||
|
ADD . /root
|
||
|
WORKDIR /root
|
||
|
RUN mv sshd_config /etc/ssh/sshd_config
|
||
|
|
||
|
EXPOSE 22
|
||
|
|
||
|
CMD ["/bin/bash", "run"]
|