From 6338052b7710ed90c9651d4956057d22efec3752 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 30 Aug 2024 21:09:46 +0000 Subject: [PATCH] fix: docker --- .github/workflows/pr.yaml | 2 +- Cargo.toml | 2 +- proposer/op/Dockerfile.op_proposer | 2 +- proposer/op/Dockerfile.span_batch_server | 2 +- proposer/succinct/COST_ESTIMATOR.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index b4cf5ee9..5cacc1e6 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -11,7 +11,7 @@ on: - "programs/**" - "native-host/**" - "zkvm-host/**" - - "op-succinct-proposer/**" + - "proposer/succinct/**" - "Cargo.toml" merge_group: diff --git a/Cargo.toml b/Cargo.toml index 3cd3ae92..dae72caf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ hex = "0.4.3" client-utils = { path = "crates/client-utils" } host-utils = { path = "crates/host-utils" } zkvm-host = { path = "zkvm-host" } -op-succinct-proposer = { path = "op-succinct-proposer" } +op-succinct-proposer = { path = "proposer/succinct" } # ethereum alloy = { version = "0.2", default-features = false, features = ["full"] } diff --git a/proposer/op/Dockerfile.op_proposer b/proposer/op/Dockerfile.op_proposer index 65635dc8..e60e964c 100644 --- a/proposer/op/Dockerfile.op_proposer +++ b/proposer/op/Dockerfile.op_proposer @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \ COPY --from=optimism-builder /optimism/op-proposer/proposer/bin/op-proposer /usr/local/bin/op-proposer # Set the entrypoint to run op-proposer with environment variables -COPY ./op-succinct-proposer/op_proposer.sh /usr/local/bin/op_proposer.sh +COPY ./proposer/op/op_proposer.sh /usr/local/bin/op_proposer.sh # Make the binary and entrypoint executable. RUN ls -l /usr/local/bin/ diff --git a/proposer/op/Dockerfile.span_batch_server b/proposer/op/Dockerfile.span_batch_server index 9475b5f8..b57024ca 100644 --- a/proposer/op/Dockerfile.span_batch_server +++ b/proposer/op/Dockerfile.span_batch_server @@ -21,7 +21,7 @@ ENV PATH="${GOPATH}/bin:${PATH}" # Set up Go environment WORKDIR /app -# Copy the local op-proposer-go directory +# Copy the local proposer/op directory COPY ./proposer/op /app/op-proposer-go # Change to the server directory and build the application diff --git a/proposer/succinct/COST_ESTIMATOR.md b/proposer/succinct/COST_ESTIMATOR.md index 9c8959eb..9a004fe8 100644 --- a/proposer/succinct/COST_ESTIMATOR.md +++ b/proposer/succinct/COST_ESTIMATOR.md @@ -8,7 +8,7 @@ just Then start the host in the background. ```bash -docker build -t span_batch_server -f op-succinct-proposer/Dockerfile.span_batch_server . +docker build -t span_batch_server -f proposer/op/Dockerfile.span_batch_server . docker run -p 8080:8080 -d span_batch_server ```