forked from nrabulinski/attic
flake.nix: Add /bin/sh to Docker image for fly ssh console
This commit is contained in:
parent
ee16664046
commit
06332b7cc3
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue