#!/bin/sh # Update all base images from Dockerfile # Run before: images-build-all for dir in ci-*; do echo "Update $dir" cd "$dir" docker pull `awk '/^FROM/ {print $2}' < Dockerfile` cd .. done