Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit cf962ef

Browse files
authored
Merge pull request #21 from dappnode/tropicar/refactor
Refactor and update to the 1.10.8 version
2 parents 33ddc8c + 0e5187f commit cf962ef

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

build/Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
FROM golang:1.15-alpine as builder
2-
31
ARG UPSTREAM_VERSION
42

5-
RUN apk add --no-cache make gcc musl-dev linux-headers git bash
6-
7-
RUN git clone -b ${UPSTREAM_VERSION} https://github.com/ethereum/go-ethereum.git && \
8-
cd go-ethereum && make geth
9-
10-
# Pull Geth into a second stage deploy alpine container
11-
FROM alpine:edge
12-
13-
RUN apk add --no-cache ca-certificates
14-
COPY --from=builder /go/go-ethereum/build/bin/geth /usr/local/bin
3+
FROM ethereum/client-go:${UPSTREAM_VERSION}
154

16-
ENTRYPOINT geth --ropsten --http --http.addr 0.0.0.0 --http.corsdomain "*" --http.vhosts "*" --ws --ws.origins "*" --ws.addr 0.0.0.0 $EXTRA_OPTIONS
5+
ENTRYPOINT geth --ropsten --http --http.addr 0.0.0.0 --http.corsdomain "*" --http.vhosts "*" --ws --ws.origins "*" --ws.addr 0.0.0.0 --syncmode ${SYNCMODE:-fast} --metrics --metrics.addr 0.0.0.0 $EXTRA_OPTIONS

dappnode_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ropsten.dnp.dappnode.eth",
33
"version": "0.3.5",
4-
"upstreamVersion": "v1.10.7",
4+
"upstreamVersion": "v1.10.8",
55
"upstreamRepo": "ethereum/go-ethereum",
66
"upstreamArg": "UPSTREAM_VERSION",
77
"shortDescription": "Ethereum testnet with PoW - closest to Mainnet",

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
build:
66
context: ./build
77
args:
8-
UPSTREAM_VERSION: v1.10.7
8+
UPSTREAM_VERSION: v1.10.8
99
volumes:
1010
- "ropsten:/root/.ethereum/"
1111
ports:
@@ -15,5 +15,6 @@ services:
1515
restart: always
1616
environment:
1717
- "EXTRA_OPTIONS=--http.api eth,net,web3,txpool"
18+
- SYNCMODE
1819
volumes:
1920
ropsten: {}

0 commit comments

Comments
 (0)