github.com/iaintshine/docker@v1.8.2/contrib/builder/rpm/build.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
     5  
     6  set -x
     7  ./generate.sh
     8  for d in */; do
     9  	docker build -t "dockercore/builder-rpm:$(basename "$d")" "$d"
    10  done