Last active
September 30, 2025 13:24
-
-
Save etherealHero/c3008c7e646f29863e6abc3eaeb51934 to your computer and use it in GitHub Desktop.
Dev container with AstroNvim & Zellij
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine:3.22 | |
| RUN apk update && \ | |
| apk upgrade && \ | |
| apk add --no-cache \ | |
| zsh \ | |
| git \ | |
| curl \ | |
| neovim \ | |
| ripgrep \ | |
| musl-dev \ | |
| gcc \ | |
| nodejs \ | |
| npm \ | |
| perl \ | |
| bash \ | |
| sudo \ | |
| zellij | |
| RUN adduser -S dev -G wheel -s /bin/zsh -h /home/dev && \ | |
| echo 'dev ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | |
| USER dev | |
| WORKDIR /home/dev | |
| RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim && \ | |
| rm -rf ~/.config/nvim/.git && \ | |
| nvim --headless "+Lazy! sync" +qa && \ | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && \ | |
| echo 'export SHELL=/bin/zsh' >> ~/.zshrc | |
| CMD ["zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment