test
Some checks failed
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Failing after 42s
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-29 11:48:35 +01:00
parent 678b8bee6e
commit 6112fa3205
3 changed files with 2 additions and 22 deletions

View File

@@ -8,18 +8,3 @@ RUN dnf update -y && \
zoxide git npm neovim awk jq unzip fd-find lazygit && \
dnf clean all
# === setup user ===
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
RUN mkdir .config .local .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
VOLUME /home/user