Detect docker last commit

https://speakerdeck.com/bmorearty/15-docker-tips-in-5-minutes