mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 02:44:02 +08:00
24ef00a258
Test servers are implemented by docker containers and run real servers for rclone to test against.
12 lines
272 B
Docker
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" ]
|