FROM archlinux:latest # Update system and install essential packages RUN pacman -Syu --noconfirm && \ pacman -S --noconfirm \ base-devel \ git \ wget \ vim \ nvim \ nano \ lazygit \ ttyd \ sudo \ which \ net-tools \ iputils \ bind-tools \ unzip \ yazi \ go \ zig \ ripgrep \ openssh && \ pacman -Scc --noconfirm # Create a workspace directory RUN mkdir -p /data # Install Astronvim RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim && \ rm -rf ~/.config/nvim/.git # Setup Git RUN git config --global user.email "git@bouvais.lu" RUN git config --global user.name "adrien" # Add Gopls RUN go install golang.org/x/tools/gopls@latest WORKDIR /data EXPOSE 7681