github.com/xhghs/rclone@v1.51.1-0.20200430155106-e186a28cced8/fstest/testserver/images/test-sftp-openssh/Dockerfile (about)

     1  # A very minimal sftp server for integration testing rclone
     2  FROM alpine:latest
     3  
     4  # User rclone, password password
     5  RUN \
     6      apk add openssh && \
     7      ssh-keygen -A && \
     8      adduser -D rclone && \
     9      echo "rclone:password" | chpasswd 
    10  
    11  ENTRYPOINT [ "/usr/sbin/sshd", "-D" ]