ftp-action/Dockerfile
Tim Bernhard ba35a37f8c
Improve stability options
* Update Dockerfile by removing lefovers
* Treat  symbolic links as files, Ref: https://lftp.yar.ru/lftp-man.html
* Keep in sync with fork source via GitHub Action
* Update entrypoint.sh: more stable connections (more retries, longer timeout), only loading newer files (-n), loading symbolic links as files (-L) as well as specifically excluding the git directory (-x ^.git/$)

(Co-)authored-by: Tomasz Trębski <kornicameister@gmail.com>
2020-08-24 17:11:33 +02:00

12 lines
163 B
Docker

FROM alpine:3.11
WORKDIR /
COPY LICENSE README.md /
RUN apk --no-cache add \
lftp=4.8.4-r2
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]