Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/javanile/composer

PHP Composer for Docker Dev Environments
https://github.com/javanile/composer

composer containerized-dev-tools development-environment docker-dev-environment improve-develop-effciency php

Last synced: 4 days ago
JSON representation

PHP Composer for Docker Dev Environments

Awesome Lists containing this project

README

        

# composer

Improoved version of Official [Composer](https://hub.docker.com/_/composer) Image with the following add-ons

- Support for local cache (speed up 10x your development environment)

## Usage

Standalone usage, copy and paste the following command to install your dependencies avoiding download packages at each run

```sh
docker run --rm -it -v /tmp -v $PWD:/app javanile/composer install
```

with Docker Compose, copy and paste the following service if you use the docker compose file as [task or job runnner](https://github.com/javanile/docker-compose-job)

```yaml
version: "3"

services:
composer:
image: javanile/composer
volumes:
- ./:/app/
- /tmp/:/tmp/
```

## License

[MIT](LICENSE) © [Francesco Bianco](https://github.com/francescobianco).