amirbilu / composer-docker
There is no license information available for the latest version (0.0.3) of this package.
Package info
github.com/amirbilu/composer-docker
Type:composer-plugin
pkg:composer/amirbilu/composer-docker
0.0.3
2018-01-03 16:16 UTC
Requires
- composer-plugin-api: ^1.1
This package is not auto-updated.
Last update: 2026-03-29 13:31:35 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"
]
}
}