Docker Tip #100: Should You Use Image Digests in Your Dockerfile? — Nick Janetakis
https://nickjanetakis.com/blog/docker-tip-100-should-you-use-image-digests-in-your-dockerfile
Adding a digest reference to your images can make builds more predictable, here's a few pros and cons of using them.