Build foundry container locally

This commit is contained in:
David Boreham 2023-01-22 22:19:23 -07:00
parent 59a9714d19
commit f3f4033937
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 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/eth-statediff-fill-service
cerc/eth-statediff-service

View File

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