docker-rsync-ssh-server/Dockerfile

14 lines
231 B
Docker
Raw Permalink Normal View History

FROM alpine:3.13
RUN apk add --no-cache \
openssh-server \
rsync
2021-05-15 00:41:19 -04:00
RUN mkdir -p /root/.ssh && \
cp /etc/ssh/sshd_config /etc/default_sshd_config && \
passwd -d root
COPY ./entrypoint.sh /entrypoint
ENTRYPOINT ["/entrypoint"]