summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-01 16:59:28 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-01 17:02:20 +0200
commitf7ba52b35b028d7234402f5b1e79e270a8555584 (patch)
tree6bf32a2abc36c9e5b5c2cb5cbb0de1e3cc07c71f
parentfc3b4cb2d40816af2ac08fbee81f2562ec0df469 (diff)
downloadmeta-updater-f7ba52b35b028d7234402f5b1e79e270a8555584.tar.gz
Run under user 4321 in bitbake docker image
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-rw-r--r--scripts/ci/Dockerfile.bitbake6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ci/Dockerfile.bitbake b/scripts/ci/Dockerfile.bitbake
index c91f94c..bcd1aa8 100644
--- a/scripts/ci/Dockerfile.bitbake
+++ b/scripts/ci/Dockerfile.bitbake
@@ -31,8 +31,8 @@ RUN apt-get update -q && apt-get install -qy \
31 xterm \ 31 xterm \
32 xz-utils 32 xz-utils
33 33
34ARG uid=1000 34ARG uid=4321
35ARG gid=1000 35ARG gid=4321
36RUN groupadd -g $gid bitbake 36RUN groupadd -g $gid bitbake
37RUN useradd -m -u $uid -g $gid bitbake 37RUN useradd -m -u $uid -g $gid bitbake
38 38
@@ -40,3 +40,5 @@ RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
40ENV LC_ALL="en_US.UTF-8" 40ENV LC_ALL="en_US.UTF-8"
41ENV LANG="en_US.UTF-8" 41ENV LANG="en_US.UTF-8"
42ENV LANGUAGE="en_US.UTF-8" 42ENV LANGUAGE="en_US.UTF-8"
43
44USER "bitbake"