How to create a minimal Docker image for CentOS 7

Notes on how to create a minimal Docker image for CentOS 7