forked from Ericsson/CodeCompass
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (27 loc) · 841 Bytes
/
Dockerfile
File metadata and controls
31 lines (27 loc) · 841 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
FROM ubuntu:bionic
RUN apt-get update && apt-get -y install \
cmake make \
llvm-7 clang-7 llvm-7-dev libclang-7-dev \
libboost-all-dev \
odb libodb-sqlite-dev libodb-pgsql-dev \
libsqlite3-dev \
default-jdk ant\
libssl-dev \
libgraphviz-dev \
libmagic-dev \
libgit2-dev \
nodejs \
ctags \
wget \
git \
&& \
wget "http://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=thrift/0.12.0/thrift-0.12.0.tar.gz" -O /opt/thrift-0.12.0.tar.gz; \
tar -xf /opt/thrift-0.12.0.tar.gz -C /opt; \
cd /opt/thrift-0.12.0; \
./configure --prefix=/opt/thrift --silent; \
cd /; \
make -C /opt/thrift-0.12.0 -j4 --silent install; \
rm -rf /opt/thrift-0.12.0 /opt/thrift-0.12.0.tar.gz
COPY codecompass-build.sh /usr/local/bin
ENV DATABASE=pgsql BUILD_TYPE=Release
ENTRYPOINT ["codecompass-build.sh"]