Skip to content

Alpine Linux, php, php-fpm, nginx, git, composer for Docker

License

Notifications You must be signed in to change notification settings

ehtishammubarik/docker-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker PHP on alpine linux Docker Pulls

Alpine Linux, php, php-fpm, nginx, git, composer for Docker

branches & versions

Branch PHP Note
master 7.4 stable
php-7.4 7.4 stable
php-7.3 7.3 stable
php-7.2 7.2 stable - not updating anymore
php-7.1 7.1 stable - not updating anymore

usage

build image:

$ docker build -t docker-php .

run container:

$ docker run -d -p 8080:8080 docker-php

open a browser and go to:

http://localhost:8080/

connect to container with ssh:

$ docker exec -it CONTAINER_ID sh

delete container:

$ docker rm -f CONTAINER_ID

usage with docker-compose

cooming soon...

supported PHP extensions

  • php7-pcntl
  • php7-session
  • php7-mbstring
  • php7-json
  • php7-xml
  • php7-curl
  • php7-mysqli
  • php7-pdo
  • php7-pdo_mysql
  • php7-iconv
  • php7-dom
  • php7-phar
  • php7-openssl
  • php7-tokenizer
  • php7-xmlwriter
  • php7-simplexml
  • php7-ctype
  • php7-zlib
  • php7-redis

contributing

cooming soon...

license

docker-php is open-sourced software licensed under the MIT license.

About

Alpine Linux, php, php-fpm, nginx, git, composer for Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 95.3%
  • PHP 4.7%