remove intermediate images created during build process