Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 336 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 336 Bytes

Alpine Linux docker image with PHP 5.6 set up with "php" as entrypoint.

$ docker run --rm -it -v $(pwd):/data jimlei/alpine-phpcli -v

Alias

Add to ~/.bashrc

alias php='docker run --rm -it -v $(pwd):/data jimlei/alpine-phpcli'

Load the changes

$ source ~/.bashrc

Usage

$ php -v