Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T01:17:19.000Z (about 1 year ago)
- Last Synced: 2023-12-10T02:25:07.952Z (about 1 year 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:
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/backdevs/box-docker/docker-image.yml?label=Docker%20CI)
![Latest Docker version tag](https://img.shields.io/docker/v/backdevs/box?label=latest&sort=semver)
## 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 \
.
```