{ pkgs, ... }: pkgs.dockerTools.buildImage { name = "base"; copyToRoot = pkgs.buildEnv { name = "root"; paths = with pkgs; [ dockerTools.usrBinEnv dockerTools.binSh dockerTools.caCertificates bashInteractive coreutils gnugrep findutils curl ]; pathsToLink = [ "/bin" "/lib" "/share" "/etc" "/usr" ]; }; }