fix: make /run/user/1000 writable

This commit is contained in:
Job 2024-12-13 20:21:31 +01:00
parent 3560f348a7
commit 5fc464aa6d
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U

View File

@ -12,6 +12,7 @@ RUN dnf update -y && dnf -y install neovim unzip \
# === setup container user === # === setup container user ===
RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers
RUN mkdir /run/user/1000 && chown user:user /run/user/1000
USER user USER user
WORKDIR /home/user WORKDIR /home/user
COPY config/user/bashrc /home/user/.bashrc COPY config/user/bashrc /home/user/.bashrc