kopia lustrzana https://github.com/jupyterhub/repo2docker
Bash scripts by default continue on executing even if any command errors. That's not the behavior we want for our scripts, so let's explicitly get them to fail if: 1. Any command exits with non 0 exit code 2. An undefined variable is referenced |
||
|---|---|---|
| .. | ||
| README.rst | ||
| postBuild | ||
| requirements.txt | ||
| verify | ||
README.rst
System - Post-build scripts --------------------------- It is possible to run scripts after you've built the environment specified in your other files. This could be used to, for example, download data or run some configuration scripts. For example, this will download and install a Jupyter extension. .. note:: This file needs to be executable in order to work with ``repo2docker``. If you're on Linux or macOS, run:: chmod +x postBuild If you're on windows, you can accomplish the same behavior with this ``git`` command:: git update-index --chmod=+x postBuild