Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

This is a docker image for php 7.x with Swoole based on alpine

License

Notifications You must be signed in to change notification settings

zgraveyard/php-docker-swoole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

PHP Docker Swoole

This should contain all the images that I'll try to build and push to docker.

Images description

Those images contain PHP 7.x based on alpine with MySQL, PostgreSQL, Redis, GD, Swoole enabled and Composer already installed

Runing the image:

Then run the docker and specify the env file that you have created like this

docker run --env-file .env zaherg/php-swoole:<version>

.env.example

PHP_XDEBUG_DEFAULT_ENABLE=0
PHP_XDEBUG_REMOTE_ENABLE=0
PHP_XDEBUG_REMOTE_HOST=127.0.0.1
PHP_XDEBUG_REMOTE_PORT=9001
PHP_XDEBUG_REMOTE_AUTO_START=0
PHP_XDEBUG_REMOTE_CONNECT_BACK=0
PHP_XDEBUG_IDEKEY=docker
PHP_XDEBUG_PROFILER_ENABLE=0
PHP_XDEBUG_PROFILER_OUTPUT_DIR=/tmp

Installed modules information

It has the following modules:

[PHP Modules]

  1. Core
  2. ctype
  3. curl
  4. date
  5. dom
  6. fileinfo
  7. filter
  8. ftp
  9. gd
  10. hash
  11. iconv
  12. intl
  13. json
  14. libxml
  15. mbstring
  16. mysqlnd
  17. openssl
  18. pcre
  19. PDO
  20. pdo_mysql
  21. pdo_pgsql
  22. pdo_sqlite
  23. pgsql
  24. Phar
  25. posix
  26. readline
  27. redis
  28. Reflection
  29. session
  30. SimpleXML
  31. sodium
  32. SPL
  33. sqlite3
  34. standard
  35. swoole
  36. tokenizer
  37. xml
  38. xmlreader
  39. xmlwriter
  40. zip
  41. zlib