missing files

This commit is contained in:
Sebastian
2023-10-22 09:52:25 +02:00
parent e54050b60b
commit b7c2cffb13
2 changed files with 79 additions and 0 deletions

31
base/Dockerfile-erigon Normal file
View File

@@ -0,0 +1,31 @@
FROM golang:1.19 as op
RUN apk add --no-cache make g++ gcc musl-dev linux-headers git
ARG ERIGON_VERSION=v2.48.1
ARG ERIGON_REPOSITORY=https://github.com/ledgerwatch/erigon.git
RUN git clone --recurse-submodules -j8 $ERIGON_REPOSITORY
WORKDIR ./erigon
RUN git checkout ${ERIGON_VERSION}
RUN make erigon
FROM golang:1.19
RUN apt-get update && \
apt-get install -y jq curl && \
rm -rf /var/lib/apt/lists
WORKDIR /app
COPY --from=op /app/op-node/bin/op-node ./
COPY --from=op-erigon /go/erigon/build/bin/erigon ./
COPY erigon-entrypoint .
COPY op-node-entrypoint .
COPY goerli ./goerli
COPY mainnet ./mainnet