use just busybox for image
Some checks failed
Build and Publish / build-release (push) Failing after 17m40s
Some checks failed
Build and Publish / build-release (push) Failing after 17m40s
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -32,16 +32,12 @@
|
||||
};
|
||||
dockerImage = pkgs.dockerTools.buildImage {
|
||||
name = "policy_service";
|
||||
fromImageName = "hexpm/elixir";
|
||||
fromImageTag = "1.17.5-erlang-27.0-debian-bookworm-20240612";
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
name = "policy-service";
|
||||
paths = [ package ];
|
||||
pathsToLink = [ "/bin" ];
|
||||
};
|
||||
contents = [
|
||||
package
|
||||
pkgs.busybox
|
||||
];
|
||||
config = {
|
||||
Cmd = [ "/bin/bash" ];
|
||||
WorkingDir = "/";
|
||||
Cmd = [ "${package}/bin/policy_service" "start" ];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user