From ea16742b8fe0bd6e4656ff939b2c49b7d216dfbf Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Tue, 31 Jul 2018 12:48:55 -0700 Subject: [PATCH] add docs --- docs/source/config_files.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/source/config_files.rst b/docs/source/config_files.rst index ceb0ee0f..38f4c748 100644 --- a/docs/source/config_files.rst +++ b/docs/source/config_files.rst @@ -119,6 +119,20 @@ An example usecase of ``postBuild`` file is JupyterLab's demo on mybinder.org. It uses a ``postBuild`` file in a folder called ``binder`` to `prepare their demo for binder `_. +.. _start: + +``start`` +^^^^^^^^^^^^^ + +A script that can contain arbitrary commands to be run at runtime (as an +`ENTRYPOINT ` +to the docker container). If you want this to be a shell script, make sure the +first line is ```#!/bin/bash``. The last line must be ```exec "$@"``` +equivalent. + +.. TODO: Discuss runtime limits, best practices, etc. + Also, point to an example. + .. _runtime.txt: ``runtime.txt``