Make Dockerfile based on Debian

Following http://jonathan.bergknoff.com/journal/building-good-docker-images, I changed the base image, put a few commands together, remove vim as dependency.