It seems that the Dockerfile maintained by the hugo team is very restricted which also makes debugging quite difficult. Well at least it makes things difficult for me, someone who isn’t exactly a docker whiz kid.
I think I’m going to have to write my own Dockerfile that I can actually work with for the sake of being able to debug stuff a lot more easily.