diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2018-06-27 11:13:06 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2018-09-06 11:45:07 +0200 |
commit | 1b3616e68408a881df58e1bb806bc9c78828f779 (patch) | |
tree | 11d1a7902ac1fb866284a5ef0e1b7693e02e1338 /scripts/ci/Dockerfile.bitbake | |
parent | 7023fdda425f9d5e3b48e2cd12f961c0060ace54 (diff) | |
download | meta-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.bitbake | 5 |
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 | ||
34 | ARG uid=1000 | ||
35 | ARG gid=1000 | ||
36 | RUN groupadd -g $gid bitbake | ||
37 | RUN useradd -m -u $uid -g $gid bitbake | ||
38 | |||
34 | RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen | 39 | RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen |
35 | ENV LC_ALL="en_US.UTF-8" | 40 | ENV LC_ALL="en_US.UTF-8" |
36 | ENV LANG="en_US.UTF-8" | 41 | ENV LANG="en_US.UTF-8" |