-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (30 loc) · 751 Bytes
/
Dockerfile
File metadata and controls
34 lines (30 loc) · 751 Bytes
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
FROM ubuntu:18.10
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
cargo \
cmake \
default-jdk-headless \
git \
golang \
libclang-dev \
mono-complete \
ninja-build \
node-typescript \
npm \
python3-dev
WORKDIR /ycmd
ARG YCMD_REVISION
RUN git clone https://github.com/Valloric/ycmd.git /ycmd && \
git checkout "${YCMD_REVISION}" && \
git submodule update --init --recursive && \
rm -rf /ycmd/.git
RUN python3 build.py \
--clang-completer \
--cs-completer \
--go-completer \
--java-completer \
--js-completer \
--rust-completer \
--system-libclang
ENTRYPOINT ["/usr/bin/python3", "/ycmd/ycmd"]