Make sure the last line of docker build is the image id