Dockerfile 556 B

1234567891011121314151617
  1. #
  2. # Docker image to generate a deterministic build of the Pyth Solana Receiver
  3. # program. This image extends backpackapp/build to support local dependencies
  4. # outside the Cargo workspace of the program.
  5. #
  6. FROM backpackapp/build:v0.29.0@sha256:9aee169b2d8b89b4a4243419ae35c176773136e78d751b3e439eff692c9c1293
  7. WORKDIR /workspace
  8. COPY pythnet/pythnet_sdk pythnet/pythnet_sdk
  9. COPY target_chains/solana target_chains/solana
  10. WORKDIR /workspace/target_chains/solana
  11. CMD ["bash", "-c", \
  12. "anchor build --arch sbf && cp target/deploy/*.so /artifacts"]