Skip to content

Commit

Permalink
CI: Handle latest Alpine 3.19 image (#2418)
Browse files Browse the repository at this point in the history
* ci: Handle new Alpine 3.19 Image

* ci: Handle new Alpine 3.19 PHP Binaries
  • Loading branch information
PROFeNoM committed Dec 15, 2023
1 parent d174594 commit 40950f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dockerfiles/verify_packages/alpine/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ fi
if [ -z "$PHP_BIN" ]; then
PHP_BIN=$(command -v php81 || true)
fi
if [ -z "$PHP_BIN" ]; then
PHP_BIN=$(command -v php82 || true)
fi
if [ -z "$PHP_BIN" ]; then
PHP_BIN=$(command -v php7 || true)
fi
Expand All @@ -46,6 +49,9 @@ cp $(pwd)/dockerfiles/verify_packages/nginx.conf /etc/nginx/nginx.conf
if [ -z "$PHP_FPM_BIN" ]; then
PHP_FPM_BIN=$(command -v php-fpm || true)
fi
if [ -z "$PHP_FPM_BIN" ]; then
PHP_FPM_BIN=$(command -v php-fpm82 || true)
fi
if [ -z "$PHP_FPM_BIN" ]; then
PHP_FPM_BIN=$(command -v php-fpm81 || true)
fi
Expand All @@ -63,6 +69,10 @@ WWW_CONF=/etc/php/php-fpm.d/www.conf
if [ ! -f "${WWW_CONF}" ]; then
WWW_CONF=/usr/local/etc/php-fpm.d/www.conf
fi
if [ ! -f "${WWW_CONF}" ]; then
# Alpine 3.19
WWW_CONF=/etc/php82/php-fpm.d/www.conf
fi
if [ ! -f "${WWW_CONF}" ]; then
# Alpine 3.17
WWW_CONF=/etc/php81/php-fpm.d/www.conf
Expand Down

0 comments on commit 40950f9

Please sign in to comment.