mirror of
https://github.com/ernstwi/vim-secret.git
synced 2025-12-26 09:15:28 +08:00
22 lines
456 B
Docker
22 lines
456 B
Docker
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"]
|