Created
October 27, 2022 02:59
-
-
Save delphinus/afe3d94cab35f55bb1d4f79e74245cc5 to your computer and use it in GitHub Desktop.
test for https://github.com/ayamir/nvimdots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax = docker/dockerfile:1.3-labs | |
FROM ubuntu:latest | |
RUN yes | unminimize | |
RUN apt-get update && apt-get install -y tzdata | |
# https://sleepless-se.net/2018/07/31/docker-build-tzdata-ubuntu/ | |
ENV TZ=Asia/Tokyo | |
RUN apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ \ | |
pkg-config unzip git man-db libsqlite3-dev \ | |
wamerican \ | |
golang-go \ | |
nodejs npm \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install the latest Neovim | |
RUN git clone --depth 1 --single-branch -b master \ | |
https://github.com/neovim/neovim ~/neovim \ | |
&& cd ~/neovim \ | |
&& make CMAKE_BUILD_TYPE=Release \ | |
&& make CMAKE_INSTALL_PREFIX=$HOME/local/nvim install | |
RUN echo 'export PATH=$HOME/local/nvim/bin:$PATH' >> ~/.bashrc | |
RUN echo 'nvim --version' >> ~/.bashrc | |
RUN echo '(cd ~/neovim; echo "Neovim revision: $(git rev-parse HEAD)")' >> ~/.bashrc | |
RUN go install github.com/rhysd/vim-startuptime@latest | |
RUN echo 'export PATH=$HOME/go/bin:$PATH' >> ~/.bashrc | |
RUN git clone https://github.com/ayamir/nvimdots \ | |
~/.config/nvim | |
# This is needed to access [email protected] to clone packer.nvim. | |
COPY <<-"FILE" /root/.gitconfig | |
[url "https://github.com/"] | |
insteadOf = "[email protected]:" | |
FILE | |
WORKDIR /root | |
ENTRYPOINT /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment