We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a66af76 commit 742c4a9Copy full SHA for 742c4a9
flake.nix
@@ -32,7 +32,14 @@
32
docker = pkgs.dockerTools.buildLayeredImage {
33
name = "webdavplugin";
34
tag = "latest";
35
- contents = with pkgs; [mount davfs2];
+ 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
+ };
43
config.Entrypoint = ["${webdavplugin}/bin/webdav"];
44
};
45
0 commit comments