I think the point of Docker is a reproducible build environment.
Yeah, the Docker part makes sense. Don't want pointless differences between devs' setups to get in the way, especially when they're not all the same OS. I remember my first time finding out just how many differences there are between building C on Mac OS vs Linux.
How many times in your professional career you had the liberty to choose the language a project was developed on?
A supermajority of them, actually.
That's usually not the case. You work on existing code base and you want your editor to be able to explore it efficiently. Changing language is rarely an option unless you happen to enter a project at the very start.
If someone wants to do that anyway, I am going to be perplexed that C was the language choice rather than golang or rust, and perhaps worried about C being a footgun WRT security, but whatever.