Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
FROM golang:1.15-alpine as builder

ARG UPSTREAM_VERSION

RUN apk add --no-cache make gcc musl-dev linux-headers git bash

RUN git clone -b ${UPSTREAM_VERSION} https://github.com/ethereum/go-ethereum.git && \
cd go-ethereum && make geth

# Pull Geth into a second stage deploy alpine container
FROM alpine:edge

RUN apk add --no-cache ca-certificates
COPY --from=builder /go/go-ethereum/build/bin/geth /usr/local/bin
FROM ethereum/client-go:${UPSTREAM_VERSION}

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
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
2 changes: 1 addition & 1 deletion dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ropsten.dnp.dappnode.eth",
"version": "0.3.5",
"upstreamVersion": "v1.10.7",
"upstreamVersion": "v1.10.8",
"upstreamRepo": "ethereum/go-ethereum",
"upstreamArg": "UPSTREAM_VERSION",
"shortDescription": "Ethereum testnet with PoW - closest to Mainnet",
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: ./build
args:
UPSTREAM_VERSION: v1.10.7
UPSTREAM_VERSION: v1.10.8
volumes:
- "ropsten:/root/.ethereum/"
ports:
Expand All @@ -15,5 +15,6 @@ services:
restart: always
environment:
- "EXTRA_OPTIONS=--http.api eth,net,web3,txpool"
- SYNCMODE
volumes:
ropsten: {}