{ pkgs ? import {}, pkgs_linux ? import { system = "x86_64-linux"; }, }: with pkgs; dockerTools.buildImage { name = "default"; tag = "latest"; contents = [ coreutils u-root-cmds bash nix nodejs podman ]; runAsRoot = '' #!${stdenv.shell} ${dockerTools.shadowSetup} groupadd -r runner useradd -r -g runner -d /data -M runner mkdir /data chown runner:runner /data ''; config = { # User = "root"; Cmd = [ "${lib.getExe bashInteractive}" ]; WorkingDir = "/data"; Volumes = { "/data" = {}; }; }; }