From dff1917acde557af7eaaa6d0c485f60155c3c4e2 Mon Sep 17 00:00:00 2001 From: parithosh Date: Wed, 5 Jun 2024 17:56:44 +0200 Subject: [PATCH 1/3] adding op-node --- config.yaml | 11 +++++++++++ op-node/Dockerfile | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 op-node/Dockerfile diff --git a/config.yaml b/config.yaml index ed3775a..bd28fd9 100644 --- a/config.yaml +++ b/config.yaml @@ -494,3 +494,14 @@ target: tag: main-minimal repository: ethpandaops/mev-rs +############# +# mev-rs # +############# +- source: + repository: ethereum-optimism/op-node + ref: develop + dockerfile: ./op-node/Dockerfile + target: + tag: develop + repository: ethpandaops/op-node + diff --git a/op-node/Dockerfile b/op-node/Dockerfile new file mode 100644 index 0000000..e4c3a97 --- /dev/null +++ b/op-node/Dockerfile @@ -0,0 +1,26 @@ +# Use the official Golang image as the base image +FROM golang:1.21-alpine AS builder + +# Set the working directory inside the container +WORKDIR /app + +# Install git and other dependencies +RUN apk update && apk add --no-cache git make + +# Copy the rest of the application source code +COPY . . + +# Build the op-node binary +RUN cd op-node && make op-node + +# Use a minimal image for the runtime environment +FROM alpine:latest + +# Set the working directory inside the container +WORKDIR /app + +# Copy the binary from the builder stage +COPY --from=builder /app/op-node/bin/op-node /usr/local/bin/op-node + +# Set the entrypoint to the built binary +ENTRYPOINT ["op-node"] \ No newline at end of file From 6d3fb292f217ffa3b43388ba4207520737d83760 Mon Sep 17 00:00:00 2001 From: parithosh Date: Wed, 5 Jun 2024 17:56:54 +0200 Subject: [PATCH 2/3] adding op-node --- config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index bd28fd9..6738fda 100644 --- a/config.yaml +++ b/config.yaml @@ -495,7 +495,7 @@ tag: main-minimal repository: ethpandaops/mev-rs ############# -# mev-rs # +# op-node # ############# - source: repository: ethereum-optimism/op-node From e5946a1f88ebb346c0420bce785cfe53ce819af6 Mon Sep 17 00:00:00 2001 From: parithosh Date: Wed, 5 Jun 2024 17:58:30 +0200 Subject: [PATCH 3/3] adding op-node --- config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 6738fda..0a6acd6 100644 --- a/config.yaml +++ b/config.yaml @@ -500,8 +500,7 @@ - source: repository: ethereum-optimism/op-node ref: develop - dockerfile: ./op-node/Dockerfile target: tag: develop repository: ethpandaops/op-node - + dockerfile: ./op-node/Dockerfile \ No newline at end of file