File tree Expand file tree Collapse file tree 4 files changed +10
-195
lines changed
Expand file tree Collapse file tree 4 files changed +10
-195
lines changed Original file line number Diff line number Diff line change 11FROM alpine
22
3- RUN apk add --no-cache socat
4-
53USER root
6- FROM alpine
74
85RUN apk add --no-cache socat
6+ RUN apk add --no-cache jq
97
108COPY genesis.json /genesis.json
119# TODO: check env var for mapper to use
1210COPY mapper.jq /mapper.jq
1311
12+
1413CMD ["sh" , "-c" , "\
1514 socat -V > /version.txt & \
16- socat TCP-LISTEN:8545,fork TCP:host.docker.internal:8545 & \
17- socat TCP-LISTEN:8551,fork TCP:host.docker.internal:8551 & \
15+ jq -f /mapper.jq /genesis.json > /besugenesis.json; \
16+ cat /besugenesis.json; \
17+ socat -v TCP-LISTEN:8545,fork TCP:host.docker.internal:8545 & \
18+ socat -v TCP-LISTEN:8551,fork TCP:host.docker.internal:8551 & \
1819 socat TCP-LISTEN:30303,fork TCP:host.docker.internal:30303 & \
1920 socat UDP-LISTEN:30303,fork UDP:host.docker.internal:30303 & \
2021 wait" ]
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ - client : snooper
2+ nametag : main
3+
4+
You can’t perform that action at this time.
0 commit comments