-
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 #42 from pontem-network/steph-s/devnet-run
feat: devnet launch
- Loading branch information
Showing
6 changed files
with
175 additions
and
148 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ethereum/client-go:v1.11.2 | ||
FROM ethereum/client-go:v1.12.2 | ||
|
||
RUN apk add --no-cache jq | ||
|
||
|
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,30 @@ | ||
FROM --platform=$BUILDPLATFORM golang:1.21.1-alpine3.18 as builder | ||
|
||
ARG VERSION=v0.0.0 | ||
|
||
RUN apk add --no-cache make gcc musl-dev linux-headers git jq bash | ||
|
||
COPY ./go.mod /app/go.mod | ||
COPY ./go.sum /app/go.sum | ||
|
||
WORKDIR /app | ||
|
||
RUN go mod download | ||
|
||
# build op-node with the shared go.mod & go.sum files | ||
COPY ./op-node /app/op-node | ||
COPY ./op-chain-ops /app/op-chain-ops | ||
COPY ./op-service /app/op-service | ||
COPY ./op-bindings /app/op-bindings | ||
|
||
WORKDIR /app/op-node | ||
|
||
ARG TARGETOS TARGETARCH | ||
|
||
RUN make op-node VERSION="$VERSION" GOOS=$TARGETOS GOARCH=$TARGETARCH | ||
|
||
FROM alpine:3.18 | ||
|
||
COPY --from=builder /app/op-node/bin/op-node /usr/local/bin | ||
|
||
CMD ["op-node"] |
Oops, something went wrong.