Public | Automated Build

Last pushed: a year ago
Short Description
[DEPRECATED] Use https://hub.docker.com/r/jorge07/alpine-php instead. Php7, xdebug, composer and ssh
Full Description

[DEPRECATED] Use https://hub.docker.com/r/jorge07/alpine-php instead

Php7 for dev proposals

Usage:

Run

docker run -d -p 2222:22 -p 9000:9000 -v $PWD:/app --name php7-xdebug-ssh jorge07/php7-xdebug-ssh

Ssh

username: root
pass: jarcodev

Composer

docker exec php7-xdebug-ssh composer -v
Docker Pull Command
Owner
jorge07
Source Repository

Comments (2)
jorge07
a year ago

the volume could be where you want, just configure xginx or apache to point to that folder.

Git is installed

hopewise
2 years ago

Shouldn't the volume folder be at /var/www/html rather than /app ?

Also it would be great to install git in the image, to enable composer install for packages at repositories in the composer.json file..