Skip to content

Images with common extensions enabled by default for some of the official PHP Docker images

License

Notifications You must be signed in to change notification settings

columbusinteractive/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker PHP Images logo

Docker PHP images

GitHub Workflow Status Source link Authors link Docker Pulls License


Docker images built on top of the official PHP images with the addition of some common and useful extensions, installed with mlocati/docker-php-extension-installer. You can find these images on the Docker Hub (and if you're reading this file, you're probably already there).

An automated build is set up, so they should be always up-to-date with the Dockerfiles in the GitHub repository.

Also see our other image variants:

Available tags

  • 8.4, 8.4-alpine, 8.4-fpm, 8.4-fpm-alpine
  • 8.3, 8.3-alpine, 8.3-fpm, 8.3-fpm-alpine
  • 8.2, 8.2-alpine, 8.2-fpm, 8.2-fpm-alpine
  • 8.1, 8.1-alpine, 8.1-fpm, 8.1-fpm-alpine
  • 8.0, 8.0-alpine, 8.0-fpm, 8.0-fpm-alpine

Installed extensions

The following modules and extensions have been enabled, in addition to those you can already find in the official PHP image:

  • amqp
  • apcu
  • bcmath
  • bz2
  • calendar
  • event
  • exif
  • ftp
  • gd
  • gettext
  • iconv
  • imagick
  • intl
  • ldap
  • mbstring
  • memcached
  • mysqli
  • opcache
  • pcntl
  • pdo_mysql
  • pdo_pgsql
  • pdo_sqlite
  • pgsql
  • redis
  • soap
  • sockets
  • xsl
  • zip

Composer

Composer v2 is installed globally in all images. Please refer to their documentation for usage hints.

In case you want to use Composer v1, add the following to your Dockerfile:

COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer

This will overwrite Composer v2 with Composer v1 from their official docker image.

Contributing

If you find an issue, or have a special wish not yet fulfilled, please open an issue on GitHub providing as many details as you can (the more you are specific about your problem, the easier it is for us to fix it).

Pull requests are welcome, too! Please, run make build and make test before attempting a pull request. Also, it would be nice if you could stick to the best practices for writing Dockerfiles.


License

Docker PHP Images is released under the MIT license.

Origin

This repository and it's files are based on the work of chialab/docker-php

About

Images with common extensions enabled by default for some of the official PHP Docker images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •