Dockerfile.tx-verifier-evm 973 B

1234567891011121314151617181920212223
  1. # We need the built guardiand image
  2. FROM guardiand-image AS base
  3. # These versions are pinned to match the Dockerfile in the `ethereum/`
  4. # directory. Otherwise, there is nothing special about them and they can be
  5. # updated alongside the other Dockerfile.
  6. FROM --platform=linux/amd64 ghcr.io/foundry-rs/foundry:nightly-55bf41564f605cae3ca4c95ac5d468b1f14447f9@sha256:8c15d322da81a6deaf827222e173f3f81c653136a3518d5eeb41250a0f2e17ea as foundry
  7. # node is required to install Foundry
  8. FROM node:19.6.1-slim@sha256:a1ba21bf0c92931d02a8416f0a54daad66cb36a85d2b73af9d73b044f5f57cfc
  9. # prepare cast
  10. COPY --from=foundry /usr/local/bin/cast /bin/cast
  11. # prepare guardiand
  12. COPY --from=base /guardiand /bin/guardiand
  13. COPY --from=base /usr/lib/libwasmvm.*.so /usr/lib/
  14. # prepare test scripts
  15. COPY tx-verifier-evm-tests.sh /tx-verifier-evm-tests.sh
  16. COPY tx-verifier-evm-runner.sh /tx-verifier-evm-runner.sh
  17. RUN chmod +x /tx-verifier-evm-tests.sh
  18. RUN chmod +x /tx-verifier-evm-runner.sh