-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #2368 from ledgerwatch/stable-2021-07-03
Stable 2021 07 03
- Loading branch information
Showing
133 changed files
with
3,643 additions
and
1,500 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -68,3 +68,5 @@ docker-compose.dev.yml | |
|
||
/ethdb/*.fail | ||
|
||
libmdbx/build/* | ||
tests/testdata/* |
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 |
---|---|---|
@@ -1,31 +1,20 @@ | ||
FROM golang:1.16-alpine3.13 as builder | ||
|
||
ARG git_commit | ||
ENV GIT_COMMIT=$git_commit | ||
|
||
ARG git_branch | ||
ENV GIT_BRANCH=$git_branch | ||
|
||
ARG git_tag | ||
ENV GIT_TAG=$git_tag | ||
|
||
# for linters to avoid warnings. we won't use linters in Docker anyway | ||
ENV LATEST_COMMIT="undefined" | ||
FROM docker.io/library/golang:1.16-alpine3.13 as builder | ||
|
||
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++ | ||
|
||
WORKDIR /app | ||
ADD . . | ||
|
||
# next 2 lines helping utilize docker cache | ||
COPY go.mod go.sum ./ | ||
RUN go mod download | ||
RUN make erigon rpcdaemon integration sentry | ||
|
||
ADD . . | ||
RUN make all | ||
FROM docker.io/library/alpine:3.13 | ||
|
||
FROM alpine:3.13 | ||
RUN mkdir -p /var/lib/erigon | ||
VOLUME /var/lib/erigon | ||
|
||
RUN apk add --no-cache ca-certificates libgcc libstdc++ tzdata | ||
COPY --from=builder /app/build/bin/* /usr/local/bin/ | ||
|
||
EXPOSE 8545 8546 30303 30303/udp 8080 9090 6060 | ||
WORKDIR /var/lib/erigon | ||
|
||
EXPOSE 8545 8546 30303 30303/udp 30304 30304/udp 8080 9090 6060 |
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
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.