repo2docker/tests/dockerfile/simple
yuvipanda 603efee588 Make all bash verify scripts fail on error
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
2017-11-21 14:53:15 -08:00
..
Dockerfile Remove jupyterhub from test dockerfiles 2017-10-23 15:12:08 -07:00
README.rst updating autogen examples 2017-08-01 11:21:06 -04:00
sayhi.sh Fix dockerfile builds and add tests for them 2017-07-29 22:51:46 -07:00
verify Make all bash verify scripts fail on error 2017-11-21 14:53:15 -08:00

README.rst

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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.