-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
8 lines (8 loc) · 1.05 KB
/
Dockerfile
File metadata and controls
8 lines (8 loc) · 1.05 KB
1
2
3
4
5
6
7
8
FROM golang:1.18-alpine as builder
RUN apk add --no-cache gcc musl-dev linux-headers git make bash curl
RUN git clone https://github.com/TeaPartyCrypto/chain.git
RUN cd chain/cmd/geth && go mod tidy && go build .
RUN chmod +x ./chain/cmd/geth
RUN mv ./chain/cmd/geth/geth /usr/local/bin
RUN geth init --datadir ./party chain/cmd/geth/testdata/genesis.json
ENTRYPOINT ["geth", "--datadir=./party", "--networkid=1773", "--nodiscover", "--bootnodes=enode://1918351925bd05be23486fe60fc4635f3a25abb424645f725848dd158985d61f608a8ba5042eb959cc59f71c5e5200e088220839fbacbdb794867f773c902aee@65.109.52.145:60606,enode://988c12a97ac6139a3509835ea45735f91c426ba0cb3deb69274a99c345b2e6f74189584658e47fd7d46df30f20d88c65f67f915488ca9dd5f405cd97828166a2@172.104.5.209:60606,enode://6434d99e663f9f37f8b3f4f0588b263c1e661b71c3d5f778d2929f3fd9ad6cccb0995ce64de0f39a55fecc1c4b2b8fd138e5541c3b9be9dffd53617c36ec92a9@5.9.151.50:60606,enode://7efcbba8460fdb84b1d3f148bd67d78ab5e0471f0e12d4eb572f211a0c21007eeb99ebdbb29644807c359cb999d219403d19df1c4531bb6899941d079b10c033@51.161.131.90:60606"]