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 |
||
---|---|---|
.. | ||
Dockerfile | ||
README.rst | ||
sayhi.sh | ||
verify |
README.rst
Docker - Running scripts ------------------------ It's possible to run scripts using Docker in your build. In this case, we run a simple shell script after installing dependencies. However, we recommend that you see if it's possible to accomplish what you want using ``apt`` and ``postInstall`` files, and use Dockerfiles only when necessary.