-
Notifications
You must be signed in to change notification settings - Fork 14
/
Dockerfile
61 lines (53 loc) · 1.19 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
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y\
libcurl4-gnutls-dev \
libcmph-dev \
libc6-dev \
libjemalloc-dev \
libarchive-dev \
make \
autoconf \
cmake \
libtool \
git \
gcc \
jq \
pkg-config \
s3cmd \
libtbb-dev \
python2.7 \
python2.7-dev \
python-requests \
python-pip \
python3-pip \
python-ply \
libjudy-dev \
libjson-c-dev \
vim
RUN pip3 install awscli
RUN pip install boto msgpack-python future
# Install dependencies
RUN apt-get update && apt-get install -y\
python-pip libarchive13\
python-boto \
curl
#apt-transport-https \
#rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Get TrailDB
RUN cd /opt &&\
git clone https://github.com/traildb/traildb &&\
cd traildb &&\
./waf configure &&\
./waf install &&\
cp /usr/local/lib/libtraildb.so* /usr/lib/
# Get traildb-python
RUN cd /opt &&\
git clone https://github.com/traildb/traildb-python &&\
cd traildb-python &&\
python setup.py install
RUN mkdir /opt/trck
COPY . /opt/trck
RUN cd /opt/trck/ &&\
git submodule update --init --remote --recursive
RUN cd /opt/trck/ &&\
make msgpack