docker: only add rootless dependencies for the server

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Nikolay Amiantov 2021-12-17 02:40:41 +03:00
parent ab64310a5e
commit b4703e11af

View file

@ -77,7 +77,7 @@ rec {
extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]);
extraUserPath = optionals (stdenv.isLinux) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]);
extraUserPath = optionals (stdenv.isLinux && !clientOnly) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]);
postPatch = ''
patchShebangs hack/make.sh hack/make/