- Docker Hub: https://hub.docker.com/r/edyan/phing
- Docker containers that contains phing, a build tool for PHP Applications.
- It's made for development purposes. To use it in an integrated environment, try Stakkr
- That image is built with alpine (❤ ... ~30Mb instead of ~100Mb with debian-slim).
- If you need phing 3 (still in alpha1), try docker image "phing/phing:3.0".
docker run -ti --env PHING_UID=$(id -u) --env PHING_GID=$(id -g) --rm --volume $(pwd):$(pwd) edyan/phing phing -f $(pwd)/build.xml
docker run -ti --env PHING_UID=$(id -u) --env PHING_GID=$(id -g) --rm --volume $(pwd):$(pwd) edyan/phing /bin/sh
# Once inside the container
# Enter the right directory
cd /home/xyz/myapp
phing
To make sure the report and all files generated by Phing belongs to your user you can override
the UID and GID by using env variables PHING_UID
and PHING_GID
as displayed above.