Skip to content

Commit 6354e32

Browse files
authored
Merge pull request #8785 from The-OpenROAD-Project-staging/bazel-docker-user
bazel: use user in dockerfile
2 parents f00167b + cae6d25 commit 6354e32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bazel/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ RUN apt-get -y update \
2929
python3 \
3030
python3-yaml \
3131
time
32+
33+
RUN groupadd -g 9000 user \
34+
&& useradd -u 9000 -g 9000 -m -s /bin/bash user
35+
USER user

0 commit comments

Comments
 (0)