rclone/fstest/testserver/images/test-sftp-openssh/Dockerfile
Nick Craig-Wood 24ef00a258 build: implement a framework for starting test servers during tests
Test servers are implemented by docker containers and run real servers
for rclone to test against.
2020-01-18 16:47:37 +00:00

12 lines
272 B
Docker

# A very minimal sftp server for integration testing rclone
FROM alpine:latest
# User rclone, password password
RUN \
apk add openssh && \
ssh-keygen -A && \
adduser -D rclone && \
echo "rclone:password" | chpasswd
ENTRYPOINT [ "/usr/sbin/sshd", "-D" ]