Skip to content

Commit

Permalink
fix: specify root user when installing test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristoGrab committed Dec 12, 2024
1 parent 7980b3e commit a22ae6b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ async def install_testing_environment(
["ln", "-s", "/source-declarative-manifest", connector_path]
)

# Specify the root user for installation of dependencies.
# This is necessary to install poetry dependencies in rootless containers.
test_environment = test_environment.with_user("root")

return await super().install_testing_environment(
test_environment,
test_config_file_name,
Expand Down

0 comments on commit a22ae6b

Please sign in to comment.