Basic build script for containers.

This commit is contained in:
Jeroen Boonstra 2018-03-28 11:31:18 +02:00
parent be4afd5ca6
commit 41b51733c8

10
docker/build-images.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
IMAGES=(PowerDNS-MySQL PowerDNS-Admin)
for IMAGE in "${IMAGES[@]}"
do
echo building $(basename $IMAGE | tr '[A-Z]' '[a-z]')
cd $IMAGE
docker build -t $(basename $IMAGE | tr '[A-Z]' '[a-z]') .
cd ..
done