mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 19:16:29 +08:00
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" ]
|