Last active
October 28, 2024 15:54
-
-
Save Elteoremadebeethoven/dc34cf7aa0fd73f384ade1570367c479 to your computer and use it in GitHub Desktop.
Dockerfile with my nvim config
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 ubuntu:latest | |
RUN apt update && \ | |
apt upgrade -y && \ | |
apt install -y curl unzip zip git ninja-build gettext cmake build-essential zsh && \ | |
echo "PROMPT='%n@%m %~ %# '" > /root/.zshrc | |
RUN chsh -s $(which zsh) | |
SHELL [ "/bin/zsh", "-c" ] | |
ENV SHELL=/bin/zsh | |
RUN cd /root && \ | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash | |
RUN echo "source /root/.nvm/nvm.sh && \ | |
nvm install --lts && \ | |
npm i -g emmet-ls" | zsh | |
RUN cd /root && \ | |
git clone https://github.com/neovim/neovim -b stable && \ | |
cd neovim && \ | |
make CMAKE_BUILD_TYPE=RelWithDebInfo && \ | |
make install && \ | |
cd .. && \ | |
rm -rf neovim | |
RUN mkdir -p /root/.config && \ | |
cd /root/.config && \ | |
git clone https://github.com/Elteoremadebeethoven/nvim-config.git nvim | |
CMD ["zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment