Skip to content

Commit

Permalink
Merge pull request #1060 from eqlabs/krisztian/fix-docker-build
Browse files Browse the repository at this point in the history
fix(Dockerfile): fix Python stark_hash wrapper build
  • Loading branch information
kkovaacs authored May 9, 2023
2 parents c97d963 + 3712259 commit c802d9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN TARGETARCH=${TARGETARCH} \
# Stage 1.5: Build the Python Pedersen hash #
#############################################
FROM --platform=$BUILDPLATFORM cargo-chef AS rust-python-starkhash-planner
COPY Cargo.toml Cargo.toml
COPY crates/stark_curve crates/stark_curve
COPY crates/stark_hash crates/stark_hash
COPY crates/stark_poseidon crates/stark_poseidon
Expand All @@ -60,6 +61,7 @@ ARG TARGETARCH
COPY ./build/prepare-stark_hash_python.sh prepare-stark_hash_python.sh
RUN TARGETARCH=${TARGETARCH} ./prepare-stark_hash_python.sh
COPY --from=rust-python-starkhash-planner /usr/src/pathfinder/crates/stark_hash_python/recipe.json /usr/src/pathfinder/crates/stark_hash_python/recipe.json
COPY Cargo.toml Cargo.toml
COPY crates/stark_curve crates/stark_curve
COPY crates/stark_hash crates/stark_hash
COPY crates/stark_poseidon crates/stark_poseidon
Expand Down

0 comments on commit c802d9a

Please sign in to comment.