-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
58 lines (50 loc) · 1.32 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
FROM openjdk:15-slim
MAINTAINER Efim Polevoi <[email protected]>
########################################
# System Stuff
########################################
# Better terminal support
# ENV TERM screen-256color
# ENV DEBIAN_FRONTEND noninteractive
# Update and install
RUN apt-get update && apt-get install -y \
curl \
wget \
git \
software-properties-common \
python-dev \
python-pip \
python3-dev \
python3-pip \
ctags \
silversearcher-ag \
# For python crypto libraries
libssl-dev \
libffi-dev \
locales \
# For Neovim
ninja-build \
gettext \
libtool \
libtool-bin \
autoconf \
automake \
cmake \
g++ \
pkg-config \
unzip
# Install python linting and neovim plugin
RUN pip install pynvim
RUN pip3 install pynvim
# Install jedi coompletion engine
RUN pip install jedi
# Install Neovim
RUN git clone -b v0.4.3 https://github.com/neovim/neovim.git && \
cd neovim && \
make CMAKE_BUILD_TYPE=Release && \
make install && \
cd ../ && rm -rf neovim
COPY init.vim /root/.config/nvim/init.vim
COPY google-java-format-1.6-all-deps.jar /root/
# Install neovim plugins
RUN nvim -i NONE -c PlugInstall -c quitall > /dev/null 2>&1