Make sure all LaTeX dependencies are installed.
Fixes the "read-only" issue by running notbook.sh as user student.

Also:
 * all file operations should be part of the `notebook.sh` so that
   they will be rerun on start of a docker container rather on rebuild
   of the container
 * no need to generate a PEM file if we are running w/o https