aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Stratiienko <r.stratiienko@gmail.com>2023-10-14 16:28:55 +0300
committerRoman Stratiienko <r.stratiienko@gmail.com>2023-10-15 01:39:09 +0300
commit492739c5b3d0bffdb637c35ec46aa77885013e84 (patch)
treebcf79a92146c0653fd6c2e84d157069d4ee92f38
parentf2c060f8be1ed1270728b43a2588d3b9eb00c292 (diff)
downloaddrm_hwcomposer-492739c5b3d0bffdb637c35ec46aa77885013e84.tar.gz
drm_hwcomposer: Fix dockerfile
Host and container user IDs must be the same to avoid permission issues. Fixes: 87b716c07097 ("drm_hwcomposer: CI: Update runner os to ubuntu 23.04") Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
-rw-r--r--.ci/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/.ci/Dockerfile b/.ci/Dockerfile
index d8672c5..2158d7a 100644
--- a/.ci/Dockerfile
+++ b/.ci/Dockerfile
@@ -11,11 +11,15 @@ RUN apt-get update && apt-get upgrade -y && \
python3-mako python3-jinja2 python3-ply python3-yaml
ENV RUN_USER user
-ENV RUN_UID 1001
+ENV RUN_UID 1000
ENV USER_HOME /home/${RUN_USER}
RUN mkdir -pv ${USER_HOME}
+
+# Delete default user
+RUN userdel -r ubuntu
+
# Create new user
RUN adduser \
--gecos 'Build User' \