switch to contents
This commit is contained in:
parent
e7445d1030
commit
e1021536ea
2 changed files with 19 additions and 26 deletions
|
|
@ -123,19 +123,15 @@ in
|
|||
pkgs.dockerTools.buildLayeredImage {
|
||||
name = "rsshfs-server";
|
||||
tag = "latest";
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
name = "root";
|
||||
pathsToLink = [ "/bin" "/etc" "/libexec" ];
|
||||
paths = [
|
||||
pkgs.bashInteractive
|
||||
pkgs.coreutils
|
||||
pkgs.openssh
|
||||
pkgs.tmux
|
||||
sshdConfig
|
||||
rsshfsCmd
|
||||
rsshfsEntrypoint
|
||||
];
|
||||
};
|
||||
contents = [
|
||||
pkgs.bashInteractive
|
||||
pkgs.coreutils
|
||||
pkgs.openssh
|
||||
pkgs.tmux
|
||||
sshdConfig
|
||||
rsshfsCmd
|
||||
rsshfsEntrypoint
|
||||
];
|
||||
fakeRootCommands = ''
|
||||
mkdir -p ./etc
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue