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,10 +123,7 @@ in
pkgs.dockerTools.buildLayeredImage { pkgs.dockerTools.buildLayeredImage {
name = "rsshfs-server"; name = "rsshfs-server";
tag = "latest"; tag = "latest";
copyToRoot = pkgs.buildEnv { contents = [
name = "root";
pathsToLink = [ "/bin" "/etc" "/libexec" ];
paths = [
pkgs.bashInteractive pkgs.bashInteractive
pkgs.coreutils pkgs.coreutils
pkgs.openssh pkgs.openssh
@ -135,7 +132,6 @@ pkgs.dockerTools.buildLayeredImage {
rsshfsCmd rsshfsCmd
rsshfsEntrypoint 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";
pathsToLink = [ "/bin" "/etc" "/libexec" ];
paths = [
pkgs.bashInteractive pkgs.bashInteractive
pkgs.coreutils pkgs.coreutils
pkgs.openssh pkgs.openssh
pkgs.tmux pkgs.tmux
pkgs.sshfs pkgs.sshfs
sshdConfig sshdConfig
rsshfsCmd
rsshfsEntrypoint rsshfsEntrypoint
]; ];
};
fakeRootCommands = '' fakeRootCommands = ''
mkdir -p ./etc mkdir -p ./etc