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
Some of our python projects use precommit to run a set of static code analyses tools. When running precommit from the bitcraze/toolbelt on linux there is a problem related to users.
On linux the builder docker container is running as the current user (as opposed to root on Mac and Win) to make files created by the build owned by the correct user. The problem with precommit is that it tries to read data related to the current user and that user does not exist in the docker container.
The text was updated successfully, but these errors were encountered:
A workaround is to use sudo when running the toolbelt since this will make the toolbelt start the builder as root. This workaround is only necessary when running tools that use precommit, other tools in the belt can be executed without sudo.
Some of our python projects use precommit to run a set of static code analyses tools. When running precommit from the bitcraze/toolbelt on linux there is a problem related to users.
On linux the builder docker container is running as the current user (as opposed to root on Mac and Win) to make files created by the build owned by the correct user. The problem with precommit is that it tries to read data related to the current user and that user does not exist in the docker container.
The text was updated successfully, but these errors were encountered: