Skip to content

dockette/php

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
5.6
 
 
 
 
7.0
 
 
 
 
7.1
 
 
 
 
7.2
 
 
 
 
7.3
 
 
 
 
7.4
 
 
 
 
8.0
 
 
 
 
8.1
 
 
 
 
8.2
 
 
 
 
 
 
 
 

Dockette / PHP

Ready-to-use Debian based images for PHP 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0 and 8.1 with CLI or FPM and Composer preinstalled.

Trying to follow the latest releases with official PHP.

🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x


Usage

# experimental
docker run -v /path/to/site:/srv dockette/php:8.2
docker run -v /path/to/site:/srv dockette/php:8.2-fpm
# stable
docker run -v /path/to/site:/srv dockette/php:8.1
docker run -v /path/to/site:/srv dockette/php:8.1-fpm
docker run -v /path/to/site:/srv dockette/php:8.0
docker run -v /path/to/site:/srv dockette/php:8.0-fpm
docker run -v /path/to/site:/srv dockette/php:7.4
docker run -v /path/to/site:/srv dockette/php:7.4-fpm
docker run -v /path/to/site:/srv dockette/php:7.3
docker run -v /path/to/site:/srv dockette/php:7.3-fpm
docker run -v /path/to/site:/srv dockette/php:7.2
docker run -v /path/to/site:/srv dockette/php:7.2-fpm
docker run -v /path/to/site:/srv dockette/php:7.1
docker run -v /path/to/site:/srv dockette/php:7.1-fpm
docker run -v /path/to/site:/srv dockette/php:7.0
docker run -v /path/to/site:/srv dockette/php:7.0-fpm
docker run -v /path/to/site:/srv dockette/php:5.6
docker run -v /path/to/site:/srv dockette/php:5.6-fpm

Base image

FROM dockette/php:8.1-fpm

RUN apt update && apt install -y curl 

Documentation

Linux packages

These images have preinstalled couple of linux packages: apt-transport-https ca-certificates git.

PHP extensions

These images have preinstalled couple of PHP extensions: apc, apcu, bcmath, bz2, calendar, cgi, cli, ctype, curl, fpm (in*-fpm), geoip, gettext, gd, intl, imagick, imap, ldap, mbstring, mcrypt (<7.2), memcached, mongo, mysql, pdo, pgsql redis, soap, sqlite3, ssh2 (<7.2), xmlrpc, xsl, zip.

Composer

Composer

This super image has also preinstalled Composer.

Customization

In case of customization PHP 5.6 - 8.2:

  • /etc/php/{5.6,7.0,7.1,7.2,7.3,7.4,8.0,8.1,8,2}/{cli,cgi,fpm}/conf.d/991-custom.ini

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support f3l1x. Also thank you for using this package.

About

🐳 Dockette Debian based PHP 5.6 / 7.0 / 7.1 / 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 + FPM + Composer (Prestissimo)

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published