diff --git a/nix/ops/image/default.nix b/nix/ops/image/default.nix index f182dfcf9..591729384 100644 --- a/nix/ops/image/default.nix +++ b/nix/ops/image/default.nix @@ -8,23 +8,20 @@ pkgs.dockerTools.buildImage { set -euo pipefail - export PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH - ${pkgs.dockerTools.shadowSetup} - mkdir -p /bin /share /data /tmp + mkdir -p /share /data /tmp ${pkgs.coreutils}/bin/ln -sf ${pill} /share/urbit.pill - ${pkgs.coreutils}/bin/ln -sf ${entrypoint} /bin/urbit ''; + contents = [ urbit ]; + config = { - Entrypoint = [ "urbit" ]; + Entrypoint = [ urbit.meta.name ]; WorkingDir = "/data"; - Env = [ "PATH=/bin" ]; - Volumes = { "/data" = {}; };