Skip to content

A Docker image to build phar executable with box2 project.

Notifications You must be signed in to change notification settings

ebuildy/docker-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Docker image with Box: an application for building and managing Phars.

Base image

php:7.2.5-cli-alpine3.7

  • Official Docker php image
  • alpine 3.7
  • php 7.2.5

Environment variables

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

Usage

docker run -v MY_APP:/app -e BOX_MAIN=console.php -e BOX_DIR=src,vendor -e BOX_OUTPUT=console ebuildy/box build

About

A Docker image to build phar executable with box2 project.

Resources

Stars

Watchers

Forks

Packages

No packages published