File tree 2 files changed +41
-0
lines changed
2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,22 @@ ARG uid=1000
7
7
RUN apt-get update -y && apt-get install -y \
8
8
git \
9
9
wget \
10
+ autoconf \
11
+ autotools-dev \
12
+ build-essential \
13
+ libtool-bin \
14
+ zlib1g-dev \
15
+ libbz2-dev \
16
+ pkg-config \
10
17
python3.5 \
11
18
python3-pip \
19
+ python3-dev \
12
20
python-setuptools \
13
21
python3-nacl
14
22
RUN pip3 install -U \
15
23
pip \
16
24
setuptools \
25
+ Cython \
17
26
pep8 \
18
27
pep8-naming \
19
28
flake8
Original file line number Diff line number Diff line change @@ -12,6 +12,38 @@ RUN apt-get update -y && apt-get install -y \
12
12
13
13
RUN indy_ci_add_user $uid $user $venv
14
14
15
+ # ###### FIXME: this code of rocksdb and python-rocksdb installation should be re-factored #######
16
+
17
+ USER $user
18
+ WORKDIR /home/indy
19
+ RUN git clone https://github.com/evernym/snappy.git
20
+ WORKDIR /home/indy/snappy
21
+ RUN ./autogen.sh && ./configure && cat ./README.md > ./README
22
+ RUN make
23
+
24
+ USER root
25
+ RUN make install
26
+
27
+ USER $user
28
+ WORKDIR /home/indy
29
+ RUN git clone https://github.com/evernym/rocksdb.git
30
+ WORKDIR /home/indy/rocksdb
31
+ RUN make EXTRA_CFLAGS="-fPIC" EXTRA_CXXFLAGS="-fPIC" static_lib
32
+
33
+ USER root
34
+ RUN make install
35
+
36
+ USER $user
37
+ WORKDIR /home/indy
38
+ RUN git clone https://github.com/evernym/python-rocksdb.git
39
+ WORKDIR /home/indy/python-rocksdb
40
+ RUN python3 setup.py build
41
+ USER root
42
+ RUN python3 setup.py install
43
+ RUN ldconfig
44
+
45
+ # ###### FIXME end #######
46
+
15
47
RUN indy_image_clean
16
48
17
49
USER $user
You can’t perform that action at this time.
0 commit comments