Sign inSign up

edyan/phing

By edyan

•Updated over 7 years ago

An image to run phing on the current directory. You need to have a build.xml

Image
2

100K+

edyan/phing repository overview

⁠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.

Tag summary

Content type

Image

Digest

Size

29.8 MB

Last updated

over 7 years ago

docker pull edyan/phing