• Matthew Slipper's avatar
    ci: Use Alpine to reduce image size · c1957126
    Matthew Slipper authored
    Image sizes were increased because the packages Dockerfile used `buster-slim` rather than Alpine. Unfortunately, the images will still be large because the `node_modules` directory contains dev dependencies. This is how it was before the CircleCI migration/larger build cleanup, and will need a larger rethink of how we build TypeScript projects in the monorepo before it can be solved.
    c1957126
wait-for-sequencer.sh 287 Bytes
#!/bin/bash
CONTAINER=l2geth

RETRIES=90
i=0
until docker-compose logs l2geth | grep -q "Starting Sequencer Loop";
do
    sleep 1
    if [ $i -eq $RETRIES ]; then
        echo 'Timed out waiting for sequencer'
        exit 1
    fi
    echo 'Waiting for sequencer...'
    ((i=i+1))
done