Skip to content

[Read-only] Please check the main repository if you want to contribute.

License

Notifications You must be signed in to change notification settings

origamiphp/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP images

Image pulls

✨ Features

🐳 Supported tags

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

  • 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.2 sh
services:
# [...]
  php:
    image: ajardin/php:8.2
    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
# [...]

About

[Read-only] Please check the main repository if you want to contribute.

Topics

Resources

License

Stars

Watchers

Forks