feat: switch to neovim
This commit is contained in:
15
Containerfile
Normal file
15
Containerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM docker.io/fedora:41
|
||||
|
||||
# === setup system ===
|
||||
RUN dnf -y install neovim zoxide unzip git go procps bash-completion
|
||||
|
||||
# === setup container user ===
|
||||
RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers
|
||||
USER user
|
||||
WORKDIR /home/user
|
||||
COPY config/user/bashrc /home/user/.bashrc
|
||||
|
||||
# === setup neovim ===
|
||||
RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
|
||||
COPY config/nvim/lua/community.lua /home/user/.config/nvim/lua/community.lua
|
||||
COPY config/nvim/lua/polish.lua /home/user/.config/nvim/lua/polish.lua
|
||||
Reference in New Issue
Block a user