Skip to content

Commit 742c4a9

Browse files
set up /etc/passwd
1 parent a66af76 commit 742c4a9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

flake.nix

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@
3232
docker = pkgs.dockerTools.buildLayeredImage {
3333
name = "webdavplugin";
3434
tag = "latest";
35-
contents = with pkgs; [mount davfs2];
35+
contents = pkgs.buildEnv {
36+
name = "image-root";
37+
paths = with pkgs; [
38+
mount
39+
davfs2
40+
fakeNss # https://nixos.org/manual/nixpkgs/stable/#ssec-pkgs-dockerTools-shadowSetup
41+
];
42+
};
3643
config.Entrypoint = ["${webdavplugin}/bin/webdav"];
3744
};
3845
};

0 commit comments

Comments
 (0)