Skip to content

Commit cae6d25

Browse files
committed
bazel: use user in dockerfile
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent f00167b commit cae6d25

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)