I have build a Docker image from a Docker file using the below command.
$ docker build -t u12_core -f u12_core .
When I am trying to rebuild it
You can manage the builder cache with docker builder
docker builder
To clean all the cache with no prompt: docker builder prune -af
docker builder prune -af