forked from sdsen/ebpf-projects-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (41 loc) · 1.07 KB
/
Dockerfile
File metadata and controls
47 lines (41 loc) · 1.07 KB
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
#Author: Sayandeep Sen (sayandes@in.ibm.com)
#Author: Palani Kodeswaran (palani.kodeswaran@in.ibm.com)
FROM ubuntu:latest
#install dependencies for codequery
RUN apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get install -y \
build-essential \
g++ \
git \
cmake \
ninja-build \
sqlite3 \
libsqlite3-dev \
cscope \
wget \
python3 \
python3-pip \
exuberant-ctags \
vim
#install python dependencies
RUN python3 -m pip install command
RUN python3 -m pip install pytest-shutil
RUN python3 -m pip install argparse
RUN python3 -m pip install lxml
RUN python3 -m pip install tinydb
#install txl
WORKDIR /root
RUN mkdir /root/deps
RUN wget -O /tmp/txl.tgz https://www.txl.ca/download/15372-txl10.8b.linux64.tar.gz
RUN tar -xvzf '/tmp/txl.tgz' --strip-components 1 --one-top-level=/root/deps/txl -C .
RUN ls /root
WORKDIR /root/deps/txl
RUN ./InstallTxl
#add annotation code
WORKDIR /root
ADD asset asset
ADD src src
ADD run_annotator.sh run_annotator.sh
ADD run_comment_extractor.sh run_comment_extractor.sh
ADD projects projects
#ADD examples examples
#RUN ./run.sh