Docker and dependencies

Last week I posed this question on Twitter: Docker experts. How do you deal with non-os deps e.g. pip/npm/bower and avoiding cache-busting the »