Skip to content

Docker containers that contains Phing, a build tool for PHP Applications

License

Notifications You must be signed in to change notification settings

edyan/docker-phing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phing docker image

Build Status Docker Pulls

Facts

  • 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".

Run your phing command

From outside

docker run -ti --env PHING_UID=$(id -u) --env PHING_GID=$(id -g) --rm --volume $(pwd):$(pwd) edyan/phing phing -f $(pwd)/build.xml

By entering the container

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

Override user's ID

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.

About

Docker containers that contains Phing, a build tool for PHP Applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published