From 7e9b85ac0fdb2fa99ac4f4daf5de54fdc83c209f Mon Sep 17 00:00:00 2001 From: John Grafton Date: Sat, 15 Nov 2025 11:20:23 -0500 Subject: [PATCH] initial commit if linux lazyvim --- linux-lazyvim/Bastillefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 linux-lazyvim/Bastillefile diff --git a/linux-lazyvim/Bastillefile b/linux-lazyvim/Bastillefile new file mode 100644 index 0000000..4683c91 --- /dev/null +++ b/linux-lazyvim/Bastillefile @@ -0,0 +1,38 @@ +# ubuntu / debian packages +PKG curl git tar build-essential openssl libssl-dev libzstd-dev zlib1g-dev unzip + +# jgrafton user +CMD addgroup --gid 1001 jgrafton +CMD adduser -q --uid 1001 --gid 1001 --disabled-password --gecos "" jgrafton + +# node +CMD su jgrafton -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash" +CMD su - jgrafton -s/bin/bash -c "export NVM_DIR=/home/jgrafton/.nvm; . /home/jgrafton/.nvm/nvm.sh; nvm install 24" + +# neovim +CMD mkdir -p /opt/build +CMD curl -L https://github.com/neovim/neovim/releases/download/v0.11.5/nvim-linux-x86_64.tar.gz -o /opt/build/nvim-linux-x86_64.tar.gz +CMD tar -C /opt/build -xvf /opt/build/nvim-linux-x86_64.tar.gz +CMD cp -Rpv /opt/build/nvim-linux-x86_64/bin/* /usr/local/bin +CMD cp -Rpv /opt/build/nvim-linux-x86_64/lib/* /usr/local/lib +CMD cp -Rpv /opt/build/nvim-linux-x86_64/share/* /usr/local/share + +# lazyvim +CMD su jgrafton -c "git clone https://github.com/LazyVim/starter /home/jgrafton/.config/nvim" + +# python +CMD curl -L https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz -o /opt/build/Python-3.12.12.tgz +CMD tar -C /opt/build -xvf /opt/build/Python-3.12.12.tgz +CMD cd /opt/build/Python-3.12.12; ./configure +CMD cd /opt/build/Python-3.12.12; make -j 8 +CMD cd /opt/build/Python-3.12.12; make install + +# ripgrep +CMD curl -L https://github.com/BurntSushi/ripgrep/releases/download/15.1.0/ripgrep_15.1.0-1_amd64.deb -o /opt/build/ripgrep_15.1.0-1_amd64.deb +CMD dpkg -i /opt/build/ripgrep_15.1.0-1_amd64.deb + +# rust +CMD curl -L https://static.rust-lang.org/dist/rust-1.91.1-x86_64-unknown-linux-gnu.tar.xz -o /opt/build/rust-1.91.1.tar.xz +CMD cd /opt/build; tar xvf rust-1.91.1.tar.xz +CMD cd /opt/build/rust-1.91.1-x86_64-unknown-linux-gnu; ./install.sh +