KIWI 10.2.4 |
RUN /bin/sh -c dnf update -y && dnf copr enable -y atim/lazygit && dnf -y install neovim unzip bash-completion zoxide fd-find chafa lazygit procps git go npm # buildkit |
RUN /bin/sh -c useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers # buildkit |
RUN /bin/sh -c mkdir /run/user/1000 && chown user:user /run/user/1000 # buildkit |
USER user |
WORKDIR /home/user |
COPY config/user/bashrc /home/user/.bashrc # buildkit |
COPY config/user/profile /home/user/.bash_profile # buildkit |
RUN /bin/sh -c git clone --depth 1 https://github.com/LazyVim/starter ~/.config/nvim # buildkit |
COPY --chown=user:user config/nvim/plugins /home/user/.config/nvim/lua/plugins # buildkit |
COPY --chown=user:user config/nvim/config /home/user/.config/nvim/lua/config # buildkit |
COPY --chown=user:user config/nvim/lazyvim.json /home/user/.config/nvim/lazyvim.json # buildkit |
ENV TZ=Europe/Amsterdam |
VOLUME [/home/user/.local /home/user/.cache] |