https://github.com/backdevs/box-docker
Still box-project/box but Dockerized
https://github.com/backdevs/box-docker
box-project container docker docker-image phar php
Last synced: 11 months ago
JSON representation
Still box-project/box but Dockerized
- Host: GitHub
- URL: https://github.com/backdevs/box-docker
- Owner: backdevs
- License: mit
- Created: 2023-03-30T10:36:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T01:17:19.000Z (about 2 years ago)
- Last Synced: 2023-12-10T02:25:07.952Z (about 2 years ago)
- Topics: box-project, container, docker, docker-image, phar, php
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/backdevs/box
- Size: 43.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Still [`box-project/box`](https://github.com/box-project/box), but dockerized! :whale:


## Prerequisites
* [Docker](https://docs.docker.com/get-docker/) `^20.10`
## Basic Usage
```shell
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](https://github.com/box-project/box/blob/main/doc/configuration.md#configuration) documentation.
## Build
```bash
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 \
.
```