-
Notifications
You must be signed in to change notification settings - Fork 9
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 #49 from ironbeer/feat/merge-l2geth
Fix issue with replication stopping in l2geth
- Loading branch information
Showing
39 changed files
with
841 additions
and
1,178 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Build Geth in a stock Go builder container | ||
FROM golang:1.18.0-alpine3.15 as builder | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers git | ||
|
||
COPY ./l2geth /app/l2geth | ||
|
||
WORKDIR /app/l2geth | ||
RUN make geth | ||
|
||
# Pull Geth into a second stage deploy alpine container | ||
FROM alpine:3.15 | ||
|
||
RUN apk add --no-cache ca-certificates jq curl | ||
COPY --from=builder /app/l2geth/build/bin/geth /usr/local/bin/ | ||
|
||
WORKDIR /usr/local/bin/ | ||
EXPOSE 8545 8546 8547 | ||
COPY ./ops/scripts/geth.sh . | ||
ENTRYPOINT ["geth"] |
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
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
Oops, something went wrong.