• Stars
    star
    433
  • Rank 100,464 (Top 2 %)
  • Language Makefile
  • License
    MIT License
  • Created about 9 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🧰 Adding common PHP extensions to some of the official PHP Docker images.

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, every time an official PHP image is updated, a rebuild is triggered, so that you will always find the latest security patches installed in these images.

For development environments, you might want to choose an image with XDebug installed, or one with XHProf, or another with PCOV installed, instead.

Available tags

  • latest
  • 5.6
  • 5.6-apache
  • 5.6-fpm
  • 7.0
  • 7.0-apache
  • 7.0-fpm
  • 7.1
  • 7.1-apache
  • 7.1-fpm
  • 7.2
  • 7.2-apache
  • 7.2-fpm
  • 7.3
  • 7.3-apache
  • 7.3-fpm
  • 7.4
  • 7.4-apache
  • 7.4-fpm
  • 8.0
  • 8.0-apache
  • 8.0-fpm
  • 8.1
  • 8.1-apache
  • 8.1-fpm
  • 8.2
  • 8.2-apache
  • 8.2-fpm

As you might have guessed, all tags are built on top of the corresponding tag of the official image. Not all tags are supported in order to easen maintenance.

Installed extensions

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

  • amqp
  • bcmath
  • bz2
  • calendar
  • event
  • exif
  • gd
  • gettext
  • iconv
  • imagick
  • intl
  • ldap
  • mbstring
  • mcrypt (only PHP ≤ 7.1)
  • memcached
  • mysql (only PHP 5.x)
  • mysqli
  • pdo_mysql
  • pdo_pgsql
  • pgsql
  • redis
  • soap
  • sockets
  • xsl
  • Zend OPcache
  • zip

You will probably not need all this stuff. Even if having some extra extensions loaded ain't a big issue in most cases, you will very likely want to checkout this repository, remove unwanted extensions from the Dockerfile, and build your own image — for sometimes removing is easier than adding. 😉

Composer

Composer is installed globally in all images. Please, refer to their documentation for usage hints. Since 2020/11/01 both version 1 and 2 are installed, available through composer1 and composer2 commands respectively (composer in now a symlink to composer2).
Prestissimo (composer plugin) is installed globally in all images, for use with Composer version 1. It's a plugin that downloads packages in parallel to speed up the installation process of Composer packages.

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.

More Repositories

1

rna

🚀 Build tools for modern web modules and applications.
JavaScript
169
star
2

dna

🧬 Progressive Web Components.
TypeScript
46
star
3

aws-autoscaling-gitlab-runner

CloudFormation template to deploy a GitLab Runner with auto-scaling on AWS.
44
star
4

math-api

➗ Serverless API to render maths using MathJax for Node.
JavaScript
40
star
5

loock

🧲 Refined keyboard navigation for websites and components.
TypeScript
36
star
6

titillium_pro

19
star
7

a11ygator-extension

Validate the accessibility of your website against W3C's Web Content Accessibility Guidelines.
JavaScript
12
star
8

ansible-couchdb

[READ ONLY] Ansible role to install, configure and initialize CouchDB on Ubuntu.
11
star
9

epubchecker

Validation tool for ePub.
JavaScript
11
star
10

aws-ecr-get-login-password

Simple utility written in Go to output ECR login password to stdout in contexts where AWS CLI cannot be used.
Go
10
star
11

rna-cli

@\depracted @\see https://github.com/chialab/rna
JavaScript
10
star
12

schema-model

Generate Model classes based on JSON Schema definition.
JavaScript
10
star
13

synapse

⚡️ Application framework built on the top of DNA Web Components.
TypeScript
9
star
14

a11ygator-app

🐊 An application and Twitter bot that bites websites to taste their accessibility.
JavaScript
7
star
15

proteins

A primer for JavaScript libraries and frameworks development.
JavaScript
7
star
16

print2pdf

🖨 Docker image to export HTML pages to PDF wrapping Puppeteer with a simple REST API.
JavaScript
7
star
17

quantum

Custom elements composition made easy.
JavaScript
5
star
18

ses-password

Go CLI to convert IAM Secret Access Key to SES SMTP password.
Go
4
star
19

ansible-letsencrypt-standalone

[READ ONLY] Ansible role to install Certbot and generate SSL certificates via Letsencrypt (standalone plugin).
4
star
20

php-ip

Minimal PHP library to manage IP addresses, subnets, netmasks, etc. without additional dependencies
PHP
4
star
21

titillium

Custom version of Titillium OFL typeface
CSS
3
star
22

streamlined-backup

Lightweight binary written in Go to upload to S3 a buffer coming from a custom script, for remote backups.
Go
3
star
23

docker-buildx-ecr

A Docker image shipped with tools to build multi-arch images with buildx and authenticate against AWS ECR.
Dockerfile
3
star
24

php-object-storage

A collection of adapters for various object storage services.
PHP
3
star
25

ansible-roles

Collection of Ansible roles
Makefile
2
star
26

cells

🪡 A strongly opinionated modular utility-first CSS library.
HTML
2
star
27

router-js

A simple agnostic router for Web Apps.
JavaScript
2
star
28

storybook-prebuilt

A prebuilt storybook manager with optimised chunks.
JavaScript
1
star
29

bedita-app-template

A template for BEdita websites and apps.
PHP
1
star
30

ansible-users

[READ ONLY] Ansible role to create users and groups on Ubuntu.
1
star
31

tgs-schema

A JSON Schema that defines a Vibrotactile Graphics.
1
star
32

typos

Typing utilities for WYSIWYG editors.
TypeScript
1
star
33

forge

A library for fonts manipulation built on the top of Opentype.js and Fontkit.
JavaScript
1
star
34

ansible-php5

[READ ONLY] Ansible role to install PHP5 and Composer on Ubuntu.
1
star
35

eslint-config

🚦 Chialab's linting rules for ESLint.
JavaScript
1
star
36

ansible-ntp

[READ ONLY] Ansible role to set up and configure NTP.
1
star
37

speaker

📢 A text2speech implementation for HTML documents.
TypeScript
1
star
38

dts-apigen

A d.ts and documentation generator for TypeScript and JavaScript projects.
TypeScript
1
star
39

ansible-common

[READ ONLY] Ansible role to perform basic common operations on Ubuntu.
1
star
40

plasma

🪄 Generate Custom Elements wrappers for Angular, React, Svelte and Vue.
TypeScript
1
star