Build foundry container locally

Former-commit-id: f3f4033937
This commit is contained in:
David Boreham 2023-01-22 22:19:23 -07:00
parent e799c9eaef
commit e183e2a880
4 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,6 @@
FROM ghcr.io/foundry-rs/foundry # Use locally build foundry base image to work around there being
# no aarm64 image published.
FROM foundry-rs/foundry:local
RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash git jq RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash git jq
RUN apk add --no-cache --upgrade grep RUN apk add --no-cache --upgrade grep

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Build foundry-rs/foundry
# HACK below : TARGETARCH needs to be derived from the host environment
docker build -t foundry-rs/foundry:local --build-arg TARGETARCH=arm64 ${CERC_REPO_BASE_DIR}/foundry

View File

@ -1,3 +1,4 @@
foundry-rs/foundry
cerc/test-contract cerc/test-contract
cerc/eth-statediff-fill-service cerc/eth-statediff-fill-service
cerc/eth-statediff-service cerc/eth-statediff-service

View File

@ -16,3 +16,4 @@ vulcanize/uniswap-v3-info
vulcanize/assemblyscript vulcanize/assemblyscript
cerc-io/eth-probe cerc-io/eth-probe
cerc-io/tx-spammer cerc-io/tx-spammer
foundry-rs/foundry