amirbilu/composer-docker

There is no license information available for the latest version (0.0.3) of this package.

Installs: 313

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

0.0.3 2018-01-03 16:16 UTC

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"
        ]
    }
}