You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
987 B

  1. FROM ubuntu:20.04
  2. RUN apt-get update && \
  3. apt-get -y dist-upgrade && \
  4. apt-get install -y \
  5. apt-utils \
  6. build-essential \
  7. wget \
  8. curl \
  9. git \
  10. neovim \
  11. vim && \
  12. apt-get clean
  13. RUN curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  14. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  15. RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  16. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  17. RUN curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  18. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  19. # install rust
  20. RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
  21. RUN git clone https://github.com/arnaucube/configs.git && \
  22. cp configs/.vimrc ~/ && \
  23. cp configs/vimconfigbase.vim ~/ && \
  24. mkdir ~/.config && \
  25. mkdir ~/.config/nvim && \
  26. cp configs/init.vim ~/.config/nvim/
  27. WORKDIR /root
  28. ENTRYPOINT /bin/sh