From 702d2b8890e5548ae35a197e3e7835c5b9f4297e Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 5 May 2024 19:55:57 -0400 Subject: [PATCH] added neovim image --- specialty-containers/neovim/Containerfile | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 specialty-containers/neovim/Containerfile diff --git a/specialty-containers/neovim/Containerfile b/specialty-containers/neovim/Containerfile new file mode 100644 index 0000000..e2fe9f5 --- /dev/null +++ b/specialty-containers/neovim/Containerfile @@ -0,0 +1,26 @@ +# Custom Neovim image +# Written by Wyatt J. Miller, 2023, 2024 +# This image is opinionated, but you're welcome to customize as much as you like +FROM registry.fedoraproject.org/fedora-toolbox:40 + +# Label it right, ya know? +ENV NAME=custom_neovim_image VERSION=1.0 +LABEL com.github.containers.toolbox="true" \ + com.redhat.component="$NAME" \ + name="$NAME" \ + version="$VERSION" \ + usage="Neovim image, for solely Neovim and everything that makes it run" \ + summary="Wyatt's custom Neovim image" \ + maintainer="Wyatt J. Miller " \ + vendor="Miller Web Solutions" + +# Install Neovim and what's needed for the AstroNVim distribution +RUN dnf copr enable atim/bottom -y +RUN dnf install neovim ripgrep cargo nodejs npm bottom python lua -y -q +RUN cargo install tree-sitter-cli + +# Install lazygit (don't you know??) +RUN curl -L https://github.com/jesseduffield/lazygit/releases/download/v0.41.0/lazygit_0.41.0_Linux_x86_64.tar.gz --output lazygit_0.41.0_Linux_x86_64.tar.gz +RUN tar xvzf lazygit_0.41.0_Linux_x86_64.tar.gz +RUN cp ./lazygit /usr/local/bin/lazygit +RUN rm LICENSE README.md lazygit