-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile.ropsten
More file actions
52 lines (47 loc) · 1.59 KB
/
Dockerfile.ropsten
File metadata and controls
52 lines (47 loc) · 1.59 KB
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
FROM ubuntu:16.04
MAINTAINER Moe Adham <moe@bitaccess.co>
# Install base dependencies
RUN apt-get update && apt-get install -y -q --no-install-recommends \
apt-transport-https \
build-essential \
ca-certificates \
curl \
git \
libssl-dev \
libudev-dev \
python \
rsync \
software-properties-common \
git-core \
wget \
libzmq3-dev \
vim \
&& rm -rf /var/lib/apt/lists/*
# Install geth
RUN add-apt-repository -y ppa:ethereum/ethereum && apt-get update && apt-get install -y -q ethereum && echo "VERSION 1.8.11"
# docker run --name=gethdata-ropsten -v /gethdata busybox chown 1000:1000 /gethdata
RUN mkdir /gethdata
EXPOSE 30304 8545 8546
ENTRYPOINT ["geth", \
"--testnet", \
"--port", "30304", \
"--rpc", \
"--rpcaddr", "0.0.0.0", \
"--rpcport", "8545", \
"--rpcapi", "eth,net,web3", \
"--rpccorsdomain", "*", \
"--ws", \
"--wsaddr", "0.0.0.0", \
"--wsport", "8546", \
"--wsapi", "web3,eth,pubsub,net", \
"--wsorigins", "*", \
"--datadir", "/gethdata", \
"--txpool.journal", "72h0m0s", \
"--txpool.pricelimit", "0", \
"--txpool.accountslots", "42949672",\
"--txpool.globalslots", "429496729",\
"--txpool.accountqueue", "42949672", \
"--txpool.globalqueue", "429496729", \
"--txpool.lifetime", "72h0m0s", \
"--cache", "8000", \
"--syncmode", "fast"]