amirbilu / composer-docker
Installs: 313
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1
This package is not auto-updated.
Last update: 2024-10-27 05:21:29 UTC
README
Composer Docker is a simple plugin for building your project image.
Getting Started
composer require amirbilu/composer-docker
Example composer.json
(optional):
{ "extra": { "composer-docker":{ "tags":[ "tag1", "tag2" ], "path": "path/to/dockerfile" } } }
Options
- tags - defaults to none
- path - defaults to '.'
Usage
Run composer docker
(add -vvv for debugging information)
A good practice would be to add the above to post-install-cmd hook:
{ "scripts":{ "post-install-cmd":[ "composer docker" ] } }