Skip to content

Commit 7bfd7bc

Browse files
committed
fix: update docker run command to use environment variables for user ID and group ID
1 parent e4233e7 commit 7bfd7bc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

building/linux/rustbuilder.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ def docker_run(crate_path: pathlib.Path, image: str, command: list[str]) -> None
8888
"docker",
8989
"run",
9090
"--rm",
91-
"--user",
92-
f"{uid}:{gid}",
91+
"-e",
92+
f"USER_ID={uid}",
93+
"-e",
94+
f"GROUP_ID={gid}",
9395
"-v",
9496
f"{crate_path}:/crate",
9597
"-w",

0 commit comments

Comments
 (0)