def _run_setup_install(args):
    bmounts = ["-v", "%s:%s" % (os.getcwd(), "/tmp/bcbio-nextgen")]
    cmd = ("rm -rf /usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio && "
           "cd /tmp/bcbio-nextgen && "
           "/usr/local/share/bcbio-nextgen/anaconda/bin/python setup.py install")
    _run_cmd_commit(cmd, bmounts, args)
    print("Updated bcbio-nextgen install in docker container: %s" % args.image)
Install python code from a bcbio-nextgen development tree inside of docker.
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/docker/devel.py/_run_setup_install