KIWI 10.1.13 |
RUN /bin/sh -c dnf update -y && dnf -y install neovim unzip bash-completion zoxide fd-find 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 |
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/keymaps.lua /home/user/.config/nvim/lua/config/keymaps.lua # 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] |
CMD ["bash" "-l"] |