Skip to content

backdevs/box-docker

Repository files navigation

Still box-project/box, but dockerized! 🐳

GitHub Workflow Status Latest Docker version tag

Prerequisites

Basic Usage

docker run -it --rm -v $(pwd):/app backdevs/box:latest compile

This will mount the current working directory to the /app directory inside the container and run box compile inside that directory.

For more advanced configuration options, please refer to the official box configuration documentation.

Build

docker build \
  --build-arg BOX_VERSION=4.3.8 \
  --build-arg COMPOSER_VERSION=2.5.5 \
  --tag backdevs/box:4.3.8 \
  --tag backdevs/box:latest \
  .