about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-26T10·22+0000
committerVincent Ambo <tazjin@google.com>2019-07-26T10·22+0000
commit620778243488df5ab28d7af6ce61c30ed3de5510 (patch)
tree6d845a00201d043b23814021842f92375b3b64ab
parent6dd0ac3189559fa4934fabe3bf56850f4865e77f (diff)
fix(build): Specify default command for Nixery's own image
When running on AppEngine, the image is expected to be configured with
a default entry point / command.

This sets the command to the wrapper script, so that the image can
actually run properly when deployed.
-rw-r--r--tools/nixery/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index 64cb061c308c..23c776e117ff 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -92,6 +92,7 @@ rec {
     '';
   in dockerTools.buildLayeredImage {
     name = "nixery";
+    config.Cmd = ["${nixery-launch-script}/bin/nixery"];
     contents = [
       bashInteractive
       cacert