forked from steemit/steem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Builder.DockerFile
51 lines (46 loc) · 1.11 KB
/
Builder.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
FROM phusion/baseimage:0.9.19
RUN \
apt-get update && \
apt-get install -y \
autoconf \
automake \
autotools-dev \
build-essential \
cmake \
doxygen \
git \
libboost-all-dev \
libyajl-dev \
libreadline-dev \
libssl-dev \
libtool \
liblz4-tool \
ncurses-dev \
python3 \
python3-dev \
python3-jinja2 \
python3-pip \
libgflags-dev \
libsnappy-dev \
zlib1g-dev \
libbz2-dev \
liblz4-dev \
libzstd-dev && \
rm -rf /usr/local/src/steem
ADD . /usr/local/src/steem
RUN \
cd /usr/local/src/steem && \
mkdir build && \
cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_STD_ALLOCATOR_SUPPORT=ON \
-DBUILD_STEEM_TESTNET=ON \
-DLOW_MEMORY_NODE=OFF \
-DCLEAR_VOTES=ON \
-DSKIP_BY_TX_ID=ON \
.. && \
make -j16 && \
./tests/chain_test && \
./tests/plugin_test && \
./programs/util/test_fixed_string