dockerfiles/build.sh

13 lines
437 B
Bash
Raw Normal View History

#!/bin/sh
set -e
2022-11-15 07:57:06 +01:00
for dist in jessie_php5 stretch_php7 buster_php7 bullseye_php7 bookworm_php8; do
docker build --pull -t gnuviech/${dist}-base ${dist} -f ${dist}/Dockerfile-base
2022-02-12 10:11:27 +01:00
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