github.com_burnett01_rsync-.../Dockerfile
2025-12-02 15:09:19 +00:00

15 lines
300 B
Docker

FROM alpine:3.22.2 as base
RUN apk update && apk add --no-cache --upgrade rsync openssh-client openssl
RUN rm -rf /var/cache/apk/*
COPY docker-rsync/* /bin/
RUN chmod +x /bin/agent-*
FROM base as build
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]