dockerfiles/build.sh

13 lines
423 B
Bash
Raw Normal View History

#!/bin/sh
set -e
2020-02-08 22:13:52 +01:00
for dist in jessie_php5 stretch_php7 buster_php7 bullseye_php7; do
docker build --pull -t gnuviech/${dist}-base ${dist} -f ${dist}/Dockerfile-base
docker build -t gnuviech/${dist} ${dist} -f ${dist}/Dockerfile
docker build -t gnuviech/${dist}-mysql ${dist} -f ${dist}/Dockerfile-mysql
docker build -t gnuviech/${dist}-pgsql ${dist} -f ${dist}/Dockerfile-pgsql
done
docker image prune -f