File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,48 @@ 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
+ RUN apt-get update -y && apt-get install -y \
17
+ autoconf \
18
+ build-essential \
19
+ libtool-bin \
20
+ zlib1g-dev \
21
+ libbz2-dev \
22
+ pkg-config \
23
+ python3-dev
24
+
25
+ RUN pip3 install -U Cython
26
+
27
+ USER $user
28
+ WORKDIR /home/indy
29
+ RUN git clone https://github.com/evernym/snappy.git
30
+ WORKDIR /home/indy/snappy
31
+ RUN ./autogen.sh && ./configure && cat ./README.md > ./README
32
+ RUN make
33
+
34
+ USER root
35
+ RUN make install
36
+
37
+ USER $user
38
+ WORKDIR /home/indy
39
+ RUN git clone https://github.com/evernym/rocksdb.git
40
+ WORKDIR /home/indy/rocksdb
41
+ RUN make EXTRA_CFLAGS="-fPIC" EXTRA_CXXFLAGS="-fPIC" static_lib
42
+
43
+ USER root
44
+ RUN make install
45
+
46
+ USER $user
47
+ WORKDIR /home/indy
48
+ RUN git clone https://github.com/evernym/python-rocksdb.git
49
+ WORKDIR /home/indy/python-rocksdb
50
+ RUN python3 setup.py build
51
+ USER root
52
+ RUN python3 setup.py install
53
+ RUN ldconfig
54
+
55
+ # ###### FIXME end #######
56
+
15
57
RUN indy_image_clean
16
58
17
59
USER $user
You can’t perform that action at this time.
0 commit comments