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

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

View file

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