commit | e41d28ca88de6e25a3a69b4af980aee937087f37 | [log] [tgz] |
---|---|---|
author | ecaiyanlinux <martin.c.yan@est.tech> | Wed Dec 01 16:18:36 2021 +0100 |
committer | Chengkai YAN <martin.c.yan@est.tech> | Thu Dec 02 07:59:06 2021 +0000 |
tree | 6b2cf078b39a75c30950735fea4a0b85f20903a2 | |
parent | 0268b146cb35f0b5cdc4f8deb2668055bc4ce940 [diff] |
Use non-root user in Dockerfile Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Issue-ID: NONRTRIC-656 Change-Id: Ib85abd9de806b30b73af34a863b06c7663026c3d
diff --git a/test/mrstub/Dockerfile b/test/mrstub/Dockerfile index 676c77c..a5f9ea0 100644 --- a/test/mrstub/Dockerfile +++ b/test/mrstub/Dockerfile
@@ -34,4 +34,8 @@ RUN chmod +x start.sh +RUN groupadd -g 999 appuser && \ + useradd -r -u 999 -g appuser appuser +USER appuser + CMD [ "./start.sh" ] \ No newline at end of file