commit 9725cef18ac02b5e34b8c7987d9b8825c00204c0 parent 82666e16ea26133e5c73791d87c5835f5bf3a153 Author: Tomas Nemec <owl@gtms.dev> Date: Wed, 19 Feb 2025 22:34:54 +0100 update: dockerfile Diffstat:
A | Dockerfile | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:latest + +RUN <<EOF +apt-get update +apt-get install -y curl git gcc +EOF + +RUN <<EOF +curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz +rm -rf /opt/nvim +tar -C /opt -xzf nvim-linux-x86_64.tar.gz +EOF + +ENV PATH="$PATH:/opt/nvim-linux-x86_64/bin" + +RUN <<EOF +mkdir ~/.config +git clone git://gtms.dev/neovim ~/.config/nvim +EOF + +RUN nvim --headless -u NONE -c 'lua require("bootstrap")' +