fix: make /run/user/1000 writable
This commit is contained in:
parent
3560f348a7
commit
5fc464aa6d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user