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:
Burnett01
2026-11-08 18:08:36 +01:00
committed by GitHub
parent aed2e6b6b4
commit f1e3b76299
+1 -1
View File
@@ -8,7 +8,7 @@ RUN printf '%s\n' \
# 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@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/*