mirror of
https://github.com/ernstwi/vim-secret.git
synced 2026-01-09 18:52:40 +08:00
Add Docker setup for testing
This commit is contained in:
parent
186645a0aa
commit
5b8a833fe9
4 changed files with 58 additions and 22 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
FROM ubuntu
|
||||
|
||||
RUN apt update && apt install -y \
|
||||
git \
|
||||
vim \
|
||||
neovim
|
||||
|
||||
WORKDIR root
|
||||
|
||||
RUN git clone https://github.com/junegunn/vader.vim
|
||||
COPY . main
|
||||
|
||||
RUN mkdir -p /root/.vim/pack/all/start
|
||||
RUN mkdir -p /root/.local/share/nvim/site/pack/all/start
|
||||
|
||||
RUN ln -s /root/* /root/.vim/pack/all/start
|
||||
RUN ln -s /root/* /root/.local/share/nvim/site/pack/all/start
|
||||
|
||||
RUN echo "set encoding=utf-8" > /root/.vim/vimrc
|
||||
|
||||
WORKDIR main
|
||||
ENTRYPOINT ["./run-tests.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue