README.rst
====
koji-atomic-reactor-plugin
====

``koji-atomic-reactor-plugin`` is a plugin to koji_ that enables builders to
execute docker_ layered image builds using atomic-reactor_.

The builders need to have both docker_ and atomic-reactor_ installed with the
docker_ service enabled.

Place the ``atomicreactor.py`` in ``/usr/lib/koji-builder-plugins/``, edit the
koji builder config file, ``/etc/kojid/kojid.conf`` and enable it:

::

    # A space-separated list of plugins to enable
    plugins = atomicreactor

Now you can run the task with the koji client:

::

    $ koji make-task atomicreactor \
        uri="https://github.com/maxamillion/atomic-reactor-dockerfile-test.git" \
        image="test-image"


.. _koji: https://fedoraproject.org/wiki/Koji
.. _atomic-reactor: https://github.com/projectatomic/atomic-reactor
.. _docker: https://github.com/docker/docker