From 5226085db4b496956c5b5335ba5a7300c0189c8c Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Fri, 14 Mar 2025 13:18:16 +0100 Subject: [PATCH] add the wheel --- op/Dockerfile.wheel | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 op/Dockerfile.wheel diff --git a/op/Dockerfile.wheel b/op/Dockerfile.wheel new file mode 100644 index 00000000..9703b8af --- /dev/null +++ b/op/Dockerfile.wheel @@ -0,0 +1,20 @@ +# Use an official Golang image as the base +FROM golang:1.20-alpine + +# Set the working directory +WORKDIR /app + +# Install necessary dependencies +RUN apk add --no-cache git make gcc musl-dev + +# Clone the Optimism repository +RUN git clone --depth 1 --branch main https://github.com/ethereum-optimism/optimism.git + +# Navigate to the op-wheel directory +WORKDIR /app/optimism/op-wheel + +# Build the op-wheel binary +RUN make build + +# Set the entrypoint to the op-wheel binary +ENTRYPOINT ["./bin/op-wheel"]