add php 8.1 and php-apcu

This commit is contained in:
Pau Capó 2024-05-01 12:18:08 +02:00
parent 7c7d5df177
commit a86cf1ed7b
2 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,14 @@
#!/bin/bash
PHP_VERSIONS="7.4 8.2"
PHP_VERSIONS="7.4 8.1 8.2"
WKHTML=""
PLATFORMS="linux/arm64/v8,linux/amd64"
# testing
#PHP_VERSIONS="7.4"
#PHP_VERSIONS="8.1"
#PLATFORMS="linux/arm64/v8"
#PLATFORMS="linux/amd64"
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
@ -11,7 +18,7 @@ function build() {
echo "Building ${PACKAGE}"
docker buildx build \
--no-cache \
--platform=linux/arm64/v8,linux/amd64 \
--platform=${PLATFORMS} \
--push \
-f "${SCRIPT_DIR}/Dockerfile-php" \
-t "git.paucapo.com/server/${PACKAGE}" \