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
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@
|
||||||
attic-server-image = pkgs.dockerTools.buildImage {
|
attic-server-image = pkgs.dockerTools.buildImage {
|
||||||
name = "attic-server";
|
name = "attic-server";
|
||||||
tag = "main";
|
tag = "main";
|
||||||
|
copyToRoot = [
|
||||||
|
# Minimal `/bin/sh` for `fly ssh console`
|
||||||
|
pkgs.busybox-sandbox-shell
|
||||||
|
packages.attic-server
|
||||||
|
];
|
||||||
config = {
|
config = {
|
||||||
Entrypoint = [ "${packages.attic-server}/bin/atticd" ];
|
Entrypoint = [ "${packages.attic-server}/bin/atticd" ];
|
||||||
Cmd = [ "--mode" "api-server" ];
|
Cmd = [ "--mode" "api-server" ];
|
||||||
|
|
Loading…
Reference in a new issue