Hi all,
Since my last post, I have been looking at the docker and kubernetes and trying to rebuild a new non-root WebODM image but have not been successful.
In summary, I have been using some of the commands below to add to the dockerfile provided in the webodm master folder in order to build a new image.
e.g.
- RUN chown .root -R /webodm && chmod g+rwx -R /webodm
- RUN chgrp -R 0 /webodm &&
chmod -R g=u /webodm - Create an arbitrary user ? e.g USER 1001. If yes, how? Since OpenShift assigns random UID GID?
I am hoping that some one could provide an example guide on how to implement this in the docker file to make it work?
Also, maybe some one has an idea on how this can be implemented in the docker-compose file and do a multi-stage build ?
Note: I have no issues running webodm on a Linux virtual machine nor on local pc.
Btw here is the link to the first post I made regarding this issue.
Thanks for all you help.