From 06332b7cc3d10a26e67ea0e7d5fb17454c709a66 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 1 Jan 2023 20:59:02 -0700 Subject: [PATCH] flake.nix: Add /bin/sh to Docker image for `fly ssh console` --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 1f31591..93a95dc 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,11 @@ attic-server-image = pkgs.dockerTools.buildImage { name = "attic-server"; tag = "main"; + copyToRoot = [ + # Minimal `/bin/sh` for `fly ssh console` + pkgs.busybox-sandbox-shell + packages.attic-server + ]; config = { Entrypoint = [ "${packages.attic-server}/bin/atticd" ]; Cmd = [ "--mode" "api-server" ];