Meh I'll figure out submodules later

This commit is contained in:
mustard 2025-09-16 01:01:02 +02:00
parent 4ca9d44a90
commit 8cb281f436
352 changed files with 66107 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# --- Builder Stage ---
FROM alpine:latest AS builder
RUN apk update && apk add --no-cache \
build-base \
ninja-build \
cmake \
coreutils \
curl \
gettext-tiny-dev \
git
# Install neovim
RUN git clone --depth=1 https://github.com/neovim/neovim --branch release-0.10
RUN cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo && make install
# --- Final Stage ---
FROM alpine:latest
RUN apk update && apk add --no-cache \
libstdc++ # Often needed for C++ applications
COPY --from=builder /usr/local/bin/nvim /usr/local/bin/nvim
COPY --from=builder /usr/local/share /usr/local/share
ARG PLUG_DIR="/root/.local/share/nvim/site/pack/packer/start"
RUN mkdir -p $PLUG_DIR
RUN apk add --no-cache git # Git is needed to clone plugins in the final image
RUN git clone --depth=1 https://github.com/nvim-lua/plenary.nvim $PLUG_DIR/plenary.nvim
RUN git clone --depth=1 https://github.com/MunifTanjim/nui.nvim $PLUG_DIR/nui.nvim
RUN git clone --depth=1 https://github.com/nvim-tree/nvim-web-devicons.git $PLUG_DIR/nvim-web-devicons
COPY . $PLUG_DIR/neo-tree.nvim
WORKDIR $PLUG_DIR/neo-tree.nvim