Code Monkey home page Code Monkey logo

docker-phing's Introduction

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.

docker-phing's People

Contributors

edyan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.