fix: permissions of /run directory
This commit is contained in:
@@ -10,13 +10,13 @@ RUN dnf update -y && \
|
||||
|
||||
# === setup user ===
|
||||
RUN useradd -ms /bin/bash user && \
|
||||
echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && \
|
||||
install -m 0700 -d -o user -g user /run/user/1000 /home/user/.config /home/user/.local /home/user/.cache
|
||||
echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers
|
||||
|
||||
USER user
|
||||
WORKDIR /home/user
|
||||
|
||||
RUN git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
||||
RUN mkdir -p /run/user/1000 /home/user/.config /home/user/.local /home/user/.cache && \
|
||||
git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
||||
COPY --chown=user:user config/bashrc .bashrc
|
||||
COPY --chown=user:user config/git .config/git/config
|
||||
COPY config/bin /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user