Docker image with Box: an application for building and managing Phars.
- https://github.com/box-project/box2 The phar builder project: box
- https://github.com/ebuildy/docker-box The Docker image project
- https://hub.docker.com/r/ebuildy/box/ The Docker image at Docker hub
php:7.2.5-cli-alpine3.7
- Official Docker php image
- alpine 3.7
- php 7.2.5
Following variables are used to build a default box.json
if you dont provide one:
- BOX_MAIN -> the entry php file
- BOX_DIR -> list of directories to include
- BOX_OUTPUT -> output file name
docker run -v MY_APP:/app -e BOX_MAIN=console.php -e BOX_DIR=src,vendor -e BOX_OUTPUT=console ebuildy/box build