Reorder Dockerfiles commands to make them use the same base image.