This is not a matter of K8 cluster at all since the problem is in building docker image (it does not matter where it’s going to be used: Docker or K8)
So you say that I will need root permissions to correctly build Strapi image? In this case this is something related allowing user to run sudo to build a correct image? I do not think that rootless is the correct way of doing this or I am wrong?