fix: permissions of /run directory
Some checks failed
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Failing after 27s
Build containers / dependent-images (go) (push) Has been skipped
Build containers / dependent-images (infra) (push) Has been skipped

This commit is contained in:
Job
2025-12-27 20:14:56 +01:00
parent 9aeda3e7f4
commit b7701774cd

View File

@@ -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