A base php image mainly for laravel and symfony projects.
4.5K
A base php image mainly for laravel and symfony projects.
^20.10The base image tag will be determined based on the VERSION and PHP_FLAVOR build arguments.
Alpine FPM example:
export VERSION=8.1.11 \
PHP_FLAVOR=fpm-alpine \
TARGET_STAGE=xdebug \
&& export FLAVOR=${PHP_FLAVOR}-xdebug \
&& docker build \
--pull \
--build-arg VERSION=${VERSION} \
--build-arg FLAVOR=${PHP_FLAVOR} \
--target ${TARGET_STAGE} \
--tag ckdss/php:${FLAVOR} \
--tag ckdss/php:${VERSION}-${FLAVOR} \
.
For a full list of possible versions and flavors, please refer to the official php image tags.
The main image comes with some commonly used extensions already installed:
gd --with-jpeg --with-freetypeopcachepdo_mysqlsocketszipredisThe -xdebug and -pcov suffixed images also come with Xdebug and pcov installed accordingly.
Content type
Image
Digest
sha256:692c687ca…
Size
35.6 MB
Last updated
about 2 years ago
docker pull ckdss/php:8.2-fpm-alpine-pcov