The Box application simplifies the Phar building process. Out of the box (no pun intended), the application can do many great things.
This image contains the
box CLI including and allows to use it out of the box.
docker run --rm --interactive --tty \ --volume $PWD:/app \ finalgene/box ...
Take a look at the [box2-project]https://github.com/box-project/box2) to get detailed information.