switch to contents

This commit is contained in:
nyxerinys 2026-06-29 11:12:44 -05:00
parent e7445d1030
commit e1021536ea
2 changed files with 19 additions and 26 deletions

View file

@ -39,19 +39,16 @@ in
pkgs.dockerTools.buildLayeredImage {
name = "rsshfs-client";
tag = "latest";
copyToRoot = pkgs.buildEnv {
name = "root";
pathsToLink = [ "/bin" "/etc" "/libexec" ];
paths = [
pkgs.bashInteractive
pkgs.coreutils
pkgs.openssh
pkgs.tmux
pkgs.sshfs
sshdConfig
rsshfsEntrypoint
];
};
contents = [
pkgs.bashInteractive
pkgs.coreutils
pkgs.openssh
pkgs.tmux
pkgs.sshfs
sshdConfig
rsshfsCmd
rsshfsEntrypoint
];
fakeRootCommands = ''
mkdir -p ./etc