-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathDockerfile
73 lines (59 loc) · 1.39 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
FROM alpine:latest
MAINTAINER RaphaelHuan
RUN apk add --virtual build-deps --update \
autoconf \
automake \
cmake \
ncurses ncurses-dev ncurses-libs ncurses-terminfo \
gcc \
g++ \
libtool \
libuv \
linux-headers \
lua5.3-dev \
m4 \
unzip \
make
RUN apk add --update \
curl \
git \
python \
py-pip \
python-dev \
python3-dev \
python3 &&\
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
rm -r /root/.cache
ENV CMAKE_EXTRA_FLAGS=-DENABLE_JEMALLOC=OFF
WORKDIR /tmp
RUN git clone https://github.com/neovim/libtermkey.git && \
cd libtermkey && \
make && \
make install && \
cd ../ && rm -rf libtermkey
RUN git clone https://github.com/neovim/libvterm.git && \
cd libvterm && \
make && \
make install && \
cd ../ && rm -rf libvterm
RUN git clone https://github.com/neovim/unibilium.git && \
cd unibilium && \
make && \
make install && \
cd ../ && rm -rf unibilium
RUN curl -L https://github.com/neovim/neovim/archive/nightly.tar.gz | tar xz && \
cd neovim-nightly && \
make && \
make install && \
cd ../ && rm -rf neovim-nightly
# # Install neovim python support
RUN pip3 install neovim
RUN pip2 install neovim
RUN apk del build-deps &&\
rm -rf /var/cache/apk/*
# # install all plugins
RUN make install
WORKDIR /root/.config/nvim
COPY $HOME/.config/nvim /root/.config/nvim