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