You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wodby docs state that if you need the wodby user to have a different uid and gid than 1000 (for permission purposes across host/container), that you should rebuild the image with the WODBY_USER_ID and WODBY_GROUP_ID build args. However, this did not work for me since adduser and addgroup don't accept values higher than 256000. I cannot locally change these values on my machine because it is managed by my work.
I created a pull request that solves the issue for me: #157, by installing and using the useradd and groupadd commands instead. Maybe there are better solutions possible. Any feedback welcome. There is a similar pull request #112, but that didn't seem quite right.
Fyi, I use docker-compose to rebuild with the ids as such:
The wodby docs state that if you need the wodby user to have a different uid and gid than 1000 (for permission purposes across host/container), that you should rebuild the image with the WODBY_USER_ID and WODBY_GROUP_ID build args. However, this did not work for me since adduser and addgroup don't accept values higher than 256000. I cannot locally change these values on my machine because it is managed by my work.
I created a pull request that solves the issue for me: #157, by installing and using the useradd and groupadd commands instead. Maybe there are better solutions possible. Any feedback welcome. There is a similar pull request #112, but that didn't seem quite right.
Fyi, I use docker-compose to rebuild with the ids as such:
The text was updated successfully, but these errors were encountered: