0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-24 12:59:24 -05:00
atmoz-sftp/Dockerfile
2016-03-17 20:53:08 +01:00

19 lines
383 B
Docker

FROM debian:jessie
MAINTAINER Adrian Dvergsdal [atmoz.net]
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y install openssh-server && \
rm -rf /var/lib/apt/lists/*
# sshd needs this directory to run
RUN mkdir -p /var/run/sshd
COPY sshd_config /etc/ssh/sshd_config
COPY entrypoint /
COPY README.md /
VOLUME /etc/ssh
EXPOSE 22
ENTRYPOINT ["/entrypoint"]