Change Dockerfile to install dependencies for python 2.6 and 2.7 separately.