16 lines
571 B
Plaintext
16 lines
571 B
Plaintext
|
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
|