On the other side, I absolutely need root entry scripts because I need to start an SSH server within the container (and fix the volume permissions). I already implemented a nasty workaround to reverse those changes, so no big deal. But I personally do not think this is a good tradeoff. Dropping privileges before running the actual app is perfectly sensible. But restricting entrypoints, which are part of a high trust domain anyway? Not sure about that.