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

Running testjs in Docker results in root owning .docker/js-build #11777

Open
AJGranowski opened this issue Jan 9, 2025 · 0 comments
Open

Running testjs in Docker results in root owning .docker/js-build #11777

AJGranowski opened this issue Jan 9, 2025 · 0 comments

Comments

@AJGranowski
Copy link

Running the Javascript tests with Docker results in root owning .docker/js-build.

Reproduction steps

  1. git clone [email protected]:ppy/osu-web.git
  2. cd osu-web/
  3. bin/docker_dev.sh --wait; sleep 10 && docker compose down
  4. docker compose run --rm testjs
  5. find -user 0
    • Observe that .docker/js-build is owned by root.

Expected behavior
Files created by running Docker commands are owned by the current host user, not root.

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