2019-12-27 23:08:00 +08:00
|
|
|
FROM alpine:latest
|
2019-02-09 21:17:45 +08:00
|
|
|
|
|
|
|
# Update
|
2019-12-27 23:14:47 +08:00
|
|
|
RUN apk --update --no-cache add rsync bash openssh-client
|
2019-02-09 21:17:45 +08:00
|
|
|
|
|
|
|
# Copy entrypoint
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod +x /entrypoint.sh
|
2019-12-27 23:11:54 +08:00
|
|
|
|
2019-02-09 21:17:45 +08:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|