i
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM rockylinux:9.3
|
||||
|
||||
ARG VERSION="v0.9.4"
|
||||
ARG NVIM="/nvim-linux64/bin/nvim"
|
||||
|
||||
RUN yum install -y wget git
|
||||
|
||||
# downlad neovim binary
|
||||
RUN wget "https://github.com/neovim/neovim/releases/download/${VERSION}/nvim-linux64.tar.gz"
|
||||
RUN tar -xvf nvim-linux64.tar.gz
|
||||
|
||||
# clone and install dotfiles
|
||||
RUN git clone https://git.kehilush.com/omri/dots
|
||||
RUN mkdir -p ~/.config && cp -r dots/.config/nvim ~/.config
|
||||
|
||||
RUN $NVIM --headless -c 'Lazy sync' +q
|
||||
|
||||
ENTRYPOINT cp -r /nvim-linux64 /out
|
||||
Reference in New Issue
Block a user