forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from primevprotocol/add-signer-node3
feat: add third signer node
- Loading branch information
Showing
5 changed files
with
116 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM golang:1.21-alpine AS builder | ||
|
||
RUN apk add --no-cache gcc musl-dev linux-headers git make | ||
|
||
COPY ../go.mod /go-ethereum/ | ||
COPY ../go.sum /go-ethereum/ | ||
RUN cd /go-ethereum && go mod download | ||
|
||
ADD .. /go-ethereum | ||
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth | ||
|
||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache jq | ||
|
||
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ | ||
|
||
COPY geth-poa/genesis.json /genesis.json | ||
|
||
COPY geth-poa/entrypoint.sh /entrypoint.sh | ||
|
||
COPY geth-poa/signer-node3/keystore /data/keystore | ||
|
||
RUN chmod +x /entrypoint.sh | ||
|
||
EXPOSE 8545 6060 60601 | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...e3/keystore/UTC--2024-02-25T14-43-45.403628523Z--f6ba5bca9b489de3a4ac3a57823d5d97d608feb9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"f6ba5bca9b489de3a4ac3a57823d5d97d608feb9","crypto":{"cipher":"aes-128-ctr","ciphertext":"6e597c5d96715c65b553901870bada293b48ccaff16acc3fdc2cd079e825b590","cipherparams":{"iv":"21e6470f64880b7ecd239b866b38ea22"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"e1dbc70edf2ffc297147dea8e43d3f771fd0666a4c3e48e3fab4441e799379e3"},"mac":"6e7e711cf759512b896c219fd16231e6742dbd1377909b47e3cdc6d1bd7476c9"},"id":"2993a97e-af54-4c08-b282-72b0641cbe02","version":3} |