This has the added benefit of letting you encode the system dependencies (OS packages) for library build time and for run time.
Docker images are also a great way to distribute Python CLI tools, certainly far better than installing via pip which either pollutes global state or is confined to a certain project's virtualenv.