Files
Burnett01 b8733f9f81 Release/9.0.4 (#118)
* feat: update alpine to 3.24.4, update rsync to 3.5.2-r1, update openssh via edge to version 10.6_p2-r0

* feat: use alpine openssh-client pkg instead of full openssh (server+client pkg)

* Openssh now uses the openssh-client-default package, rather than the full openssh package, because openssh-server and other sub-packages are not needed for this action. This results in better security and faster deployments, since less dependencies are needed.

*  openssh-client-default package is using the edge repo now, just like rsync, in order to get the latest alpine security updates for them

* chore: update supported versions in SECURITY.md

* chore: update action version to 9.0.4, also mention new additional channel "latest"

+ Updated Alpine and Rsync versions in README.
+ New release channel available: @latest (always points to latest major, eg. v9, v10, v11....)
2026-11-08 18:37:35 +01:00

24 lines
820 B
Docker

FROM alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf 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.3 branch.
RUN apk update && apk add --no-cache --upgrade 'rsync@edge>=3.5.2-r1' 'openssh-client-default@edge>=10.6_p2-r0' 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"]