Implement support for multiple PHP versions

This commit provides docker images and scripts to support multiple
Debian and PHP releases via containers.
This commit is contained in:
Jan Dittberner 2018-11-11 13:57:42 +01:00
commit 5b73173912
35 changed files with 1851 additions and 0 deletions

12
build.sh Executable file
View file

@ -0,0 +1,12 @@
#!/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