icepick/e2e-tests/solana/run-online.sh

15 lines
375 B
Bash
Raw Permalink Normal View History

2024-12-16 18:53:52 +00:00
set -eu
export DOCKER_BUILDKIT=1
image="git.distrust.co/public/icepick-sol"
pushd "$(dirname $0)"
docker build -t "$image:base" -f base.Containerfile ../..
docker build -t "$image:online" -f online.Containerfile ../..
mkdir -p data
# remove stale data if it exists
rm data/input.json || true
rm data/output.json || true
docker run -it -v "$PWD/data:/data" "$image:online"