forked from raven-dark/raven-dark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
57 lines (45 loc) · 1.09 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
FROM ubuntu:trusty
RUN apt-get update && apt-get install -y \
g++ \
libzmq3-dev \
libzmq3-dbg \
libzmq3 \
make \
python \
software-properties-common \
curl \
build-essential \
libssl-dev \
wget \
libtool \
autotools-dev \
automake \
pkg-config \
libevent-dev \
bsdmainutils \
git
RUN add-apt-repository ppa:bitcoin/bitcoin -y
RUN apt-get update
RUN apt-get install -y libdb4.8-dev libdb4.8++-dev
RUN apt-get install -y \
libboost-system-dev \
libboost-filesystem-dev \
libboost-chrono-dev \
libboost-program-options-dev \
libboost-test-dev \
libboost-thread-dev
ENV VERSION=0.3.2
WORKDIR /ravendark
COPY . .
RUN ./autogen.sh && \
./configure --without-gui && make -j4
RUN ln -sf /ravendark/src/ravendarkd /usr/bin/ravendarkd
RUN ln -sf /ravendark/src/ravendark-cli /usr/bin/ravendark-cli
WORKDIR /ravendark/src
RUN tar zcvf raven-dark-${VERSION}-ubuntu.tar.gz ravendarkd ravendark-cli
RUN mkdir -p /root/compressed
RUN mv raven-dark-${VERSION}-ubuntu.tar.gz /root/compressed
EXPOSE 6666 6665
VOLUME /root/.ravendarkcore
# CMD ravendarkd
CMD tail -f /dev/null