.Net SRE here, you can do self contained executable but there is some foot guns there and if you are doing containers already, I'd just skip it.