Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.74 KB

File metadata and controls

58 lines (40 loc) · 1.74 KB

PHP Base Image

Docker Image CI Docker Image Version (latest semver) Docker Image Size (latest semver) Docker Pulls

While designed for web development, the PHP scripting language also provides general-purpose use.

Supported tags and respective Dockerfile links

Image Variants

  • php:<version>-cli
  • php:<version>-fpm
  • php:<version>-cli-slim
  • php:<version>-fpm-slim

Use PHP

You can use the image directly, e.g.

docker run --rm -it chinayin/php:7.2-fpm

The images are built daily and have the security release enabled, so will contain any security updates released more than 24 hours ago.

You can also use the images as a base for your own Dockerfile:

FROM chinayin/php:7.2-fpm

Use PHP slim version

You can use the image directly, e.g.

docker run --rm -it chinayin/php:7.2-fpm-slim

You can also use the images as a base for your own Dockerfile:

FROM chinayin/php:7.2-fpm-slim