0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00
atmoz-sftp/Dockerfile
Adrian Dvergsdal c25801daad First commit
2014-10-07 21:34:24 +02:00

15 lines
294 B
Docker

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
RUN addgroup --system sftp
ADD . /root
WORKDIR /root
RUN mv sshd_config /etc/ssh/sshd_config
EXPOSE 22
CMD ["/bin/bash", "run"]