It’s easy to put two images in a Dockerfile since the command FROM can appear twice or more in a single Dockerfile, FROM is used in images. Ensure you note down the last image ID output by the commit before calling a new FROM command