summaryrefslogtreecommitdiffstats
path: root/scripts/ci/Dockerfile.bitbake
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2018-06-27 11:13:06 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2018-09-06 11:45:07 +0200
commit1b3616e68408a881df58e1bb806bc9c78828f779 (patch)
tree11d1a7902ac1fb866284a5ef0e1b7693e02e1338 /scripts/ci/Dockerfile.bitbake
parent7023fdda425f9d5e3b48e2cd12f961c0060ace54 (diff)
downloadmeta-updater-1b3616e68408a881df58e1bb806bc9c78828f779.tar.gz
Create a user with correct uid inside CI's Dockerfile
Diffstat (limited to 'scripts/ci/Dockerfile.bitbake')
-rw-r--r--scripts/ci/Dockerfile.bitbake5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ci/Dockerfile.bitbake b/scripts/ci/Dockerfile.bitbake
index 9d34dca..c91f94c 100644
--- a/scripts/ci/Dockerfile.bitbake
+++ b/scripts/ci/Dockerfile.bitbake
@@ -31,6 +31,11 @@ RUN apt-get update -q && apt-get install -qy \
31 xterm \ 31 xterm \
32 xz-utils 32 xz-utils
33 33
34ARG uid=1000
35ARG gid=1000
36RUN groupadd -g $gid bitbake
37RUN useradd -m -u $uid -g $gid bitbake
38
34RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen 39RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
35ENV LC_ALL="en_US.UTF-8" 40ENV LC_ALL="en_US.UTF-8"
36ENV LANG="en_US.UTF-8" 41ENV LANG="en_US.UTF-8"