#!/bin/bash FILES=* for f in $FILES do if [[ -d "$f" ]] then docker build "$f" -t "php-crud-api:$f" fi done
info at phpclasses dot org