mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-10-02 04:55:24 +08:00
7c623559ee
Release notes: https://download.samba.org/pub/rsync/NEWS#3.5.1
16 lines
409 B
Docker
16 lines
409 B
Docker
FROM alpine:3.24.2@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS base
|
|
|
|
RUN apk update && apk add --no-cache --upgrade 'rsync>=3.5.1-r0' openssh openssl busybox
|
|
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
COPY docker-rsync/* /bin/
|
|
RUN chmod +x /bin/agent-* /bin/ssh-* /bin/hosts-*
|
|
|
|
FROM base AS build
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|