fix: permissions of /run/user/1000

This commit is contained in:
Job
2026-01-11 15:49:11 +01:00
parent 4e1737f5b3
commit e6bd3f3524

View File

@@ -9,7 +9,7 @@ RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
zoxide git npm neovim awk jq unzip fd-find lazygit
# === setup user ===
RUN useradd -ms /bin/bash user && echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers
RUN useradd -ms /bin/bash user && echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && mkdir -p /run/user/1000 && chown user:user /run/user/1000
USER user
WORKDIR /home/user