Pre-install Python dependencies in CI Docker images.