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