Docker-compose for building images

Hi, I’ve been told docker-compose is not a tool for building docker images,
and I find it troubling since it has a few building features built within.
I wounder if that isn’t bothering anyone else?
I’m in a place where I want to add some more build features, but I’m kind of not sure it will be accepted,
since it seems like accepted by everyone that docker-compose isn’t the tool for it.