13 lines
421 B
Bash
13 lines
421 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
for dist in wheezy_php5 jessie_php5 stretch_php7 buster_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
|