Files
rsync-deployments/Dockerfile
T
Burnett01 2cbb5ed94b Release/9.0.2 (#113)
Alpine and Rsync have received new updates:

* feat: Update Alpine from 3.24.1 to 3.24.2

Release notes: https://alpinelinux.org/posts/Alpine-3.21.8-3.22.6-3.23.6-3.24.2-released.html

* feat: Update Rsync from 3.5.0 to 3.5.1

Release notes: https://download.samba.org/pub/rsync/NEWS#3.5.1

* feat: install rsync from Alpine edge branch for latest security patches when base branch lacks behind

* chore: Update supported versions in SECURITY.md

* feat: add integration workflow for tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 17:49:45 +02:00

24 lines
786 B
Docker

FROM alpine:3.24.2@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS base
# Add Alpine edge branch as tagged repository for rsync.
RUN printf '%s\n' \
'@edge https://dl-cdn.alpinelinux.org/alpine/edge/main' \
'@edge https://dl-cdn.alpinelinux.org/alpine/edge/community' \
>> /etc/apk/repositories
# Install rsync from Alpine edge branch for latest upstream security patches.
# Other packages are installed from Alpine 3.24.2 branch.
RUN apk update && apk add --no-cache --upgrade 'rsync@edge>=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"]