Download the PHP package bukharovsi/docker_plugin without Composer

On this page you can find all versions of the php package bukharovsi/docker_plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package docker_plugin

PHP Docker plugin

Build Status Codacy Badge Dependency Status

PHP Docker plugin is a plugin for composer that helps build and push docker images. It is very useful for continuous integration. This plugin allow you to define image name, compute tags and generate reports.

When you use this plugin you still need Dockerfile. The plugin only simplified automation build!

Basic usage

If you already have Dockerfile and can build image manually just install plugin and build image immediately and push it to docker registry

You will get docker image with tag: :

Advanced usage

How to change project defaults?

Defaults can be changed in composer.json and with console arguments

Change project defaults in composer.json

define in composer.json extra section:

all definitions are optional

Change project defaults with console arguments

all arguments are optional

Getting image version from git

If you are using Git for version control or git flow you can generate image tag based on current Git branch or Git tag. For using this feature specify "version":"@vcs" in composer.json or add --tag @vcs to composer docker:build and composer docker:push command How does Git tag transforms to Docker tag?

Git branch Docker tag
master latest, (*if commit has a git tag then it add docker tag that will be equals current git tag)
dev, develop, development dev
any_other_branch any_other_branch, Commit SHA

Integration with Teamcity

Docker plugin can notify Teamcity about built image versions. This plugin use teamcity environment variables


All versions of docker_plugin with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^1.1
symfony/console Version >=2.6
adambrett/shell-wrapper Version dev-master
league/plates Version 3.*
cypresslab/gitelephant Version dev-commitsCanSearchOwnTags
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bukharovsi/docker_plugin contains the following files

Loading the files please wait ....