add the wheel

This commit is contained in:
Sebastian
2025-03-14 13:21:50 +01:00
parent 5226085db4
commit c9ac737987

View File

@@ -1,14 +1,20 @@
# Use an official Golang image as the base # Use an official Golang image as the base
FROM golang:1.20-alpine FROM golang:1.22
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app
# Install necessary dependencies # Install necessary dependencies
RUN apk add --no-cache git make gcc musl-dev #RUN apk add --no-cache git make gcc musl-dev
# Clone the Optimism repository ARG OP_REPO=https://github.com/ethereum-optimism/optimism.git
RUN git clone --depth 1 --branch main https://github.com/ethereum-optimism/optimism.git ARG OP_VERSION=v1.10.3
ARG OP_PATCH
RUN curl -fsSL https://github.com/casey/just/releases/download/1.38.0/just-1.38.0-x86_64-unknown-linux-musl.tar.gz | tar -xzf - -C /usr/local/bin
RUN git clone $OP_REPO --branch op-node/$OP_VERSION --single-branch . && \
git switch -c branch-$OP_VERSION
# Navigate to the op-wheel directory # Navigate to the op-wheel directory
WORKDIR /app/optimism/op-wheel WORKDIR /app/optimism/op-wheel