Generic sftp server based on alpine linux 3.8
668
FROM alpine:3.8
RUN apk add --no-cache openssh
&& ssh-keygen -A
RUN adduser -D admin
&& echo "admin:ftpadmin" | chpasswd
RUN mkdir /home/admin/configs
&& chown root:root -R /home/admin
COPY sshd_config /etc/ssh/sshd_config
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D", "-e"]
Content type
Image
Digest
Size
3.5 MB
Last updated
over 6 years ago
docker pull thundermagic/sftp-server:20.06.15