Changes Dockerfile to debian:jessie

Changes Dockerfile to debian:jessie.

Is more of a baby step from the changes on #9016, since we all couldn't agree. Pulled in @tianon's commit from that PR.
You should test this because last time we bumped the version the release didn't work and nothing was uploaded