- Images based on Alpine Linux
- mb_string, openssl, sqllite, curl enabled by default
- redis and opcache extensions on-board
- UTC as default timezone
- Extended localization support (ICU + Intl)
- ca-certificates and docker-root-certs
- sfvuedev user and sfvuedev group (20000:20000)
- Alternative, {dev, symfony} images, with xdebug onboard and composer
The image is built on the CI server (). Manual approval is required before pushing the image into the registry.
Images can be build locally by running buildAndDeploy.sh build <version>
.
- $REGISTRY_URL/php8.2:-fpm-dev
- $REGISTRY_URL/php8.2:-fpm
- $REGISTRY_URL/php8.2:-cli-dev
- $REGISTRY_URL/php8.2:-cli-symfony
- $REGISTRY_URL/php8.2:-cli
- $REGISTRY_URL/php8.2:
- Images built with
PHP_INI_VARIANT
argument set todevelopment
uses defaultphp.ini-development
(as mainphp.ini
) and customphp.ini-development
(asconf.d/z-base.ini
) - Images built with
PHP_INI_VARIANT
argument set toproduction
uses defaultphp.ini-production
(as mainphp.ini
) and customphp.ini-production
(asconf.d/z-base.ini
)
docker-compose:
php:
image: eu.gcr.io/ckpl-reg/php8.2:<version>-cli-xdebug
environment:
- XDEBUG_CONFIG
- XDEBUG_MODE
- XDEBUG_SESSION
Up command:
XDEBUG_CONFIG="client_host=$(hostname -I | cut -d' ' -f1) start_with_request=yes log_level=0" \
XDEBUG_SESSION="PHPSTORM" \
docker-compose up
TIP
APP_NAME
env - used to set the service
field for fpm logs - should be passed as fastcgi parameter.
- FPM (default php.ini-production + resource/php.ini-production): eu.gcr.io/ckpl-reg/php8.2:-fpm
- CLI (default php.ini-production + resource/php.ini-production): eu.gcr.io/ckpl-reg/php8.2:-cli
- FPM for dev (default php.ini-development + resource/php.ini-development + resource/xdebug.ini): eu.gcr.io/ckpl-reg/php8.2:-fpm-dev
- CLI for dev (default php.ini-development + resource/php.ini-development + resource/xdebug.ini): eu.gcr.io/ckpl-reg/php8.2:-cli-dev
- CLI with symfony (default php.ini-development + resource/php.ini-development + resource/xdebug.ini): eu.gcr.io/ckpl-reg/php8.2:-cli-symfony