From 1b3616e68408a881df58e1bb806bc9c78828f779 Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Wed, 27 Jun 2018 11:13:06 +0200 Subject: Create a user with correct uid inside CI's Dockerfile --- scripts/ci/Dockerfile.bitbake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/ci/Dockerfile.bitbake') 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 \ xterm \ xz-utils +ARG uid=1000 +ARG gid=1000 +RUN groupadd -g $gid bitbake +RUN useradd -m -u $uid -g $gid bitbake + RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen ENV LC_ALL="en_US.UTF-8" ENV LANG="en_US.UTF-8" -- cgit v1.2.3-54-g00ecf