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