openssh-client installs openssh-server in alpine 3.14
Behavior in 3.13:
$> docker run -it --user root alpine:3.13 apk --no-cache add openssh-client
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/5) Installing openssh-keygen (8.4_p1-r3)
(2/5) Installing ncurses-terminfo-base (6.2_p20210109-r0)
(3/5) Installing ncurses-libs (6.2_p20210109-r0)
(4/5) Installing libedit (20191231.3.1-r1)
(5/5) Installing openssh-client (8.4_p1-r3)
Executing busybox-1.32.1-r6.trigger
OK: 10 MiB in 19 packages
Same thing in 3.14:
$> docker run -it --user root alpine:3.14 apk --no-cache add openssh-client
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
(1/9) Installing openssh-keygen (8.6_p1-r1)
(2/9) Installing openssh-sftp-server (8.6_p1-r1)
(3/9) Installing openssh-server-common (8.6_p1-r1)
(4/9) Installing openssh-server (8.6_p1-r1)
(5/9) Installing ncurses-terminfo-base (6.2_p20210612-r0)
(6/9) Installing ncurses-libs (6.2_p20210612-r0)
(7/9) Installing libedit (20210216.3.1-r0)
(8/9) Installing openssh-client-common (8.6_p1-r1)
(9/9) Installing openssh-client-default (8.6_p1-r1)
Executing busybox-1.33.1-r2.trigger
OK: 11 MiB in 23 packages
Installing openssh-client-default
produces the same result of installing openssh server as well. I guess that is because openssh-client-common now depends on openssh-server
according to https://pkgs.alpinelinux.org/package/edge/main/x86_64/openssh-client-common
, right?
Is this a bug, or this will be default behavior from now on, in which case: is there a way to install only ssh client in 3.14?