Sign inSign up

ckdss/php

By ckdss

Updated about 2 years ago

A base php image mainly for laravel and symfony projects.

Image
Languages & frameworks
Web servers
1

4.5K

ckdss/php repository overview

⚠️ This image is no longer maintained, please use: lynxsolutions/php instead ⚠️

PHP but spicier 🌶️

A base php image mainly for laravel and symfony projects.

Prerequisites

Build

The 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.

Installed extensions

The main image comes with some commonly used extensions already installed:

  • gd --with-jpeg --with-freetype
  • opcache
  • pdo_mysql
  • sockets
  • zip
  • redis

The -xdebug and -pcov suffixed images also come with Xdebug and pcov installed accordingly.

Tag summary

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