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