I think it’s a misunderstanding. I do not need to change a user inside a docker file
I just cannot build the image on the host system since it throws an error at step 2, while it tries to do
RUN apk update && apk add
I do not think that Strapi need root privileges to run inside a docker container so I’m fine to run it under some ordinary user. But how do I build an image with such errors for this if I’m not a root in the system?
The only thing that I see here is to set up this user in the host system to run sudo docker build instead of simple docker build
Am i correct?