Sign inSign up

korekontrol/php

By korekontrol

•Updated over 5 years ago

PHP base image, with integration examples, development tools and production-ready focus.

Image
0

1.4K

korekontrol/php repository overview

PHP base docker image, with integration examples, development support and production-ready focus.

Check project repository⁠ for documentation and integration examples.

Basic usage:

FROM korekontrol/php:7.4

# Add composer dependencies
COPY composer.json composer.lock ./
RUN  composer install --no-interaction --optimize-autoloader

# Add application code
COPY . ./

Feature list:

  • composer with hirak/prestissimo (for quicker downloads)
  • opcache, xdebug, pgsql/mysql/pdo/ldap/curl/gd/intl and other extensions included
  • very small container size (compared to official images), below 150MB
  • CLI and FPM included, designed to work with separate Apache/NginX proxy containers and FastCGI.

Created by Marek Obuchowicz⁠ from KoreKontrol Germany, DevOps consulting services⁠

Tag summary

Content type

Image

Digest

Size

106.7 MB

Last updated

over 5 years ago

docker pull korekontrol/php:7.3