自分のvimrcを試すDockerfile
code:Dockerfile
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
# Neovim
RUN apt update && apt install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip git
WORKDIR /usr/local/src
RUN git clone https://github.com/neovim/neovim.git
WORKDIR /usr/local/src/neovim
RUN make && make install
# ctags
RUN apt install -y exuberant-ctags
# Node
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sh
RUN apt install -y nodejs
RUN npm install --global yarn
# Deno
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
ENV PATH $PATH:/root/.deno/bin
# Python
RUN apt install -y python3-pip
RUN pip3 install neovim
# bat & ripgrep
RUN apt install -y -o Dpkg::Options::="--force-overwrite" bat ripgrep
# fd
RUN apt install -y fd-find
# vimrc
RUN sh -c 'curl -fLo /root/.config/nvim/init.vim --create-dirs https://raw.githubusercontent.com/yukiycino-dotfiles/dotfiles/master/.vimrc'
ENTRYPOINT "bash"