Sign inSign up

adclick/runtime

By adclick

•Updated almost 8 years ago

Runtime containers php, node, java, etc

Image
0

974

adclick/runtime repository overview

⁠Runtime PHP 7.2 (dockerfile⁠)

This runtime executes PHP-FPM, using PHP 7.2.

⁠Docker Build

https://docs.docker.com/engine/reference/builder/⁠

    $> docker build -t adclick/runtime:php-72 .

Push the build into the repo

    $> docker push adclick/runtime

⁠Configuration

To avoid file permission issues, you can map PHP-FPM default user UID and GID. Doing this, any file created by PHP-FPM will belong to the mapped user. To do this define the USER_ID and GROUP_ID environment variables when running the container.

$> docker run -e USER_ID=$(id -u) GROUP_ID=$(id -g) adclick/runtime:php-72

⁠Extensions

A list of all extensions available in this runtime.

⁠Core

Besides PHP 7.2 default core extensions, the following are installed.

bcmath
bz2
calendar
exif
ftp
gettext
gmp
intl
mbstring
mcrypt
mysqli
pcntl
pdo_mysql
shmop
sockets
sysvmsg
sysvsem
sysvshm
wddx
xsl
zip
⁠Pecl
apcu       5.1.9
igbinary*  master branch (https://github.com/igbinary/igbinary7)
memcached* php7 branch (https://github.com/php-memcached-dev/php-memcached)
mailparse  3.0.2
pecl_http  3.1.0
propro     2.0.1
raphf      2.0.0
xdebug     2.6.0beta1

*These extensions have experimental PHP 7 support.

Tag summary

Content type

Image

Digest

Size

270.9 MB

Last updated

almost 8 years ago

docker pull adclick/runtime:php-72