Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker USER is root #43

Open
pjaol opened this issue Oct 7, 2023 · 0 comments
Open

Docker USER is root #43

pjaol opened this issue Oct 7, 2023 · 0 comments

Comments

@pjaol
Copy link

pjaol commented Oct 7, 2023

using JRubics/[email protected]

Running into problems signing artifacts, finding that my dist directory is root owned
And it looks like the docker file is root based

-rw-r--r-- 1 runner docker 17067 Oct  7 21:59 LICENSE.md
-rw-r--r-- 1 runner docker  256 Oct 7 21:59 README.md
drwxr-xr-x 2 root   root    4096 Oct  7 21:59 dist

Looks like the default user is runner / docker from at least actions/checkout@v3

Suspect it's also the cause of a few other warnings like

WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Collecting poetry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant