fix import syntax
This commit is contained in:
parent
9291374d2e
commit
5bc9477bfc
3 changed files with 98 additions and 103 deletions
|
|
@ -4,6 +4,5 @@ let
|
|||
./rsshfs-client.nix
|
||||
./rsshfs-server.nix
|
||||
];
|
||||
imported = map ( n: import n args ) images;
|
||||
in
|
||||
lib.foldl' lib.recursiveUpdate {} imported
|
||||
map (image: import image args ) images
|
||||
|
|
@ -120,8 +120,7 @@ let
|
|||
HostKey /tmp/ssh_host_ed25519_key
|
||||
'';
|
||||
in
|
||||
{
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
name = "rsshfs-server";
|
||||
tag = "latest";
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
|
|
@ -168,5 +167,4 @@ in
|
|||
Entrypoint = [ "/bin/entrypoint" ];
|
||||
Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -36,8 +36,7 @@ let
|
|||
HostKey /tmp/ssh_host_ed25519_key
|
||||
'';
|
||||
in
|
||||
{
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
name = "rsshfs-client";
|
||||
tag = "latest";
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
|
|
@ -88,5 +87,4 @@ in
|
|||
Cmd = [ "tail" "-f" "/dev/null" ];
|
||||
ExposedPorts = { "2222/tcp" = {}; };
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue