This is done to more explicitly track what version of Debian Jessie is
being used as a base image. It will also ensure that it is properly
updated on the VM even if we forget. This also should help CI and VM
builds stay speedy by using the cache even when there is a newer version
of Debian Jessie. In the long run, we may wish to re-evaluate this
strategy and fix our CI and deployment systems so as to be able to use
the latest version of Debian Jessie with important CVE and other fixes.
Also change CMD vs ENTRYPOINT to match what minimal-notebook
and some major official Docker images do (redis, mysql, nginx, ...)
by having the jupyter kernelgateway in the CMD, and just tini --
in the entrypoint
(c) Copyright IBM Corp. 2016
* Use setuptools to get modern pip (debian packaged pip stops
working after requests gets updated)
* Don't use wget to fetch tini, use Python!
(c) Copyright IBM Corp. 2016
* Remove SHELL env var and leftover USER nobody
* Install wget for tini then immediately uninstall it
* Install build-essentials and python3-dev for tornado speed up
then immediately uninstall them
(c) Copyright IBM Corp. 2016