forked from project-ecc/eccoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (20 loc) · 1.1 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
################################## Notes ##################################
# to build:
# docker build --no-cache -t eccoind .
# (--no-cache is required or else it won't pull latest updates from github)
#
# to run:
# docker run -p 19118:19118 eccoind
#
# to run with a mounted directory for ~/.eccoind:
# docker run -p 19118:19118 -v /path/to/a/local/directory:/root/.eccoin eccoind
#
#############################################################################
FROM ubuntu:16.04
MAINTAINER Alton Jensen version: 0.1
RUN apt-get update && apt-get install -y libdb-dev libdb++-dev build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev git unzip wget
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
#build from latest refactor12 branch code
RUN git clone https://github.com/Greg-Griffith/ECCoin.git && cd ECCoin/src/ && make -f makefile.unix
RUN mkdir /root/.eccoin/
CMD ["/ECCoin/src/ECCoind","-listen","-upnp"]