Skip to content

Latest commit

 

History

History

php

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PHP images

Image pulls

✨ Features

🐳 Supported tags

ℹ️ Only images of officially supported PHP versions are regularly updated.

  • Image size (8.3)
  • Image size (8.3 with Blackfire)
  • Image size (8.3 with Xdebug)

  • Image size (8.2)
  • Image size (8.2 with Blackfire)
  • Image size (8.2 with Xdebug)

  • Image size (8.1)
  • Image size (8.1 with Blackfire)
  • Image size (8.1 with Xdebug)

  • Image size (8.0)
  • Image size (8.0 with Blackfire)
  • Image size (8.0 with Xdebug)

  • Image size (7.4)
  • Image size (7.4 with Blackfire)
  • Image size (7.4 with Xdebug)

  • Image size (7.3)
  • Image size (7.3 with Blackfire)
  • Image size (7.3 with Xdebug)

🚀 Usage

docker run --interactive --tty --volume=$(pwd):/var/www/html ajardin/php:8.3 sh
services:
# [...]
  php:
    image: ajardin/php:8.3
    environment:
      - SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
    volumes:
      # Project files
      - ${PROJECT_LOCATION}:/var/www/html:delegated
      # Custom configuration
      - ${PROJECT_LOCATION}/var/docker/php/php-cli.ini:/usr/local/etc/php/php-cli.ini:ro
      - ${PROJECT_LOCATION}/var/docker/php/php-fpm-fcgi.ini:/usr/local/etc/php/php-fpm-fcgi.ini:ro
      # SSH socket
      - /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock
    tty: true
# [...]