Skip to content

Commit d45503e

Browse files
authored
Merge pull request #23 from EspressoSystems/un-dry
Remove dependency by repeating ourselves a little
2 parents 2f56e6d + c6d6656 commit d45503e

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

Dockerfile.l1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#FROM ethereum/client-go:release-1.16
2-
# Need unstable for Osaka? WTF
3-
FROM ethereum/client-go:latest
1+
FROM ethereum/client-go:release-1.16
42

53
RUN apk add --no-cache jq curl
64

staging.Dockerfile.l1

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
ARG GETH_VERSION="main"
1+
FROM ethereum/client-go:release-1.16
22

3-
FROM ghcr.io/espressosystems/geth-l1:${GETH_VERSION}
3+
RUN apk add --no-cache jq curl
44

5-
COPY config/genesis-staging.json genesis.json
5+
COPY entrypoint-l1.sh /entrypoint.sh
6+
COPY config/config.toml /config/config.toml
7+
COPY config/jwt-secret.json /config/jwt-secret.json
8+
9+
VOLUME ["/db"]
10+
11+
HEALTHCHECK --start-period=300s --start-interval=1s CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'
612

13+
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
14+
15+
COPY config/genesis-staging.json genesis.json

0 commit comments

Comments
 (0)