add install script and update to v0.10.0

This commit is contained in:
2024-07-15 21:03:16 +03:00
parent 601b146a2d
commit acc8cd445c
3 changed files with 31 additions and 5 deletions

View File

@ -1,6 +1,6 @@
FROM rockylinux:9.3
ARG VERSION="v0.9.5"
ARG VERSION="v0.10.0"
ARG NVIM="/nvim-linux64/bin/nvim"
RUN yum install -y wget git npm gcc go unzip
@ -30,9 +30,16 @@ RUN $NVIM --headless -c "MasonInstall taplo yamlfmt rustfmt" +q
# archive everything
RUN mkdir /archive
RUN cp -r /nvim-linux64 /archive
RUN cp -r ~/.local/share/nvim /archive/localsharenvim
RUN cp -r ~/.config/nvim /archive/confignvim
RUN mkdir -p /archive/.local/share
RUN cp -r /nvim-linux64 /archive/.local/share
RUN cp -r ~/.local/share/nvim /archive/.local/share
RUN mkdir -p /archive/.config
RUN cp -r ~/.config/nvim /archive/.config
COPY install.sh /archive/install.sh
RUN chmod +x /archive/install.sh
# export everything
RUN mkdir /out