devcontainer/Containerfile

16 lines
571 B
Plaintext
Raw Normal View History

2024-09-17 18:32:24 +00:00
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