mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-11-19 21:45:24 +08:00
feat: use alpine openssh-client pkg instead of full openssh (server+client pkg
Only the openssh-client is needed, the other sub-pkgs that come with openssh (such as openssh-server) are not needed.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ RUN printf '%s\n' \
|
|||||||
|
|
||||||
# Install rsync from Alpine edge branch for latest upstream security patches.
|
# Install rsync from Alpine edge branch for latest upstream security patches.
|
||||||
# Other packages are installed from Alpine 3.24.3 branch.
|
# 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@edge>=10.6_p2-r0' openssl busybox
|
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/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user