Auto Sync

This commit is contained in:
lhie1
2020-12-09 04:49:05 +08:00
parent 916acc4a9c
commit f88ea31e7a
6 changed files with 59 additions and 326 deletions

View File

@@ -1,8 +1,9 @@
FROM alpine
FROM alpine:3.10
RUN apk add --no-cache git openssh-client bash jq curl&& \
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
RUN apk update && apk upgrade && \
apk add --no-cache git openssh
ADD *.sh /
COPY mirror.sh /mirror.sh
COPY setup-ssh.sh /setup-ssh.sh
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/mirror.sh"]