add the wheel
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
# Use an official Golang image as the base
|
||||
FROM golang:1.20-alpine
|
||||
FROM golang:1.22
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# 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
|
||||
RUN git clone --depth 1 --branch main https://github.com/ethereum-optimism/optimism.git
|
||||
ARG OP_REPO=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
|
||||
WORKDIR /app/optimism/op-wheel
|
||||
|
||||
Reference in New Issue
Block a user