diff options
author | MichaelMorris <michael.morris@est.tech> | 2020-03-06 16:50:50 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2020-03-10 13:11:10 +0000 |
commit | bf71d497301bb5f782879d696d1f924ea77f14fb (patch) | |
tree | fe5339b02a37a59f97480cf38f7927d671332459 /base_sdc-python | |
parent | a0200b7f7d774e90fc7a9e1e88e280dc1b88f9dd (diff) |
create sdc user for non-root running of pods
Change-Id: I7d6f7d7f67c23fcd063a5944341a1e8cae85e893
Issue-ID: SDC-2798
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'base_sdc-python')
-rw-r--r-- | base_sdc-python/Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/base_sdc-python/Dockerfile b/base_sdc-python/Dockerfile index d2d316d..96e4eb8 100644 --- a/base_sdc-python/Dockerfile +++ b/base_sdc-python/Dockerfile @@ -28,7 +28,6 @@ RUN apk update && \ etc webrick \ --no-document +RUN addgroup -g 1000 sdc && adduser -S -u 1000 -G sdc -s /bin/sh sdc - - - +USER sdc |