1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

php versions

This commit is contained in:
Robin Appelman 2021-03-14 20:02:54 +01:00
commit 6b922733e2
11 changed files with 322 additions and 13 deletions

15
images/build.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
versions=("7.2" "7.3" "7.4" "8.0")
for version in "${versions[@]}"; do
echo "building haze-php-$version"
docker build -t "icewind1991/haze-php:$version" -f "php/Dockerfile.$version" php
done
for version in "${versions[@]}"; do
echo "building haze-$version"
cp haze/Dockerfile.tmpl haze/Dockerfile
sed -i "s/<version>/$version/" haze/Dockerfile
docker build -t "icewind1991/haze:$version" -f "haze/Dockerfile" haze
done