aboutsummaryrefslogtreecommitdiff
path: root/docs/image-building.rst
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-09-02 22:33:01 -0700
committerSteven Dake <stdake@cisco.com>2015-09-02 22:37:36 -0700
commit233864ff32af10a2c927cdbca3475b537c8e6808 (patch)
tree99a0f159b60f736faa09871db363ebd5da1f7d8d /docs/image-building.rst
parent3ed7b3c3b4cb6c00cb9c3c55c9f00265e805d18f (diff)
downloadkolla-233864ff32af10a2c927cdbca3475b537c8e6808.tar.gz
kolla-233864ff32af10a2c927cdbca3475b537c8e6808.zip
Rename docs dir to doc for publishing
The publishing docs expect the documentation to be present in the /doc directory not the /docs directory. If the documentation is in the /docs directory, according to fungi the docs won't be published properly. Change-Id: I718fec7e69d298a5cb2376ca4e2455e12169566e Partially-Implements: blueprint kola-tox-doc
Diffstat (limited to 'docs/image-building.rst')
-rw-r--r--docs/image-building.rst86
1 files changed, 0 insertions, 86 deletions
diff --git a/docs/image-building.rst b/docs/image-building.rst
deleted file mode 100644
index c118fef99..000000000
--- a/docs/image-building.rst
+++ /dev/null
@@ -1,86 +0,0 @@
-Image building
-==============
-
-The ``tools/build.py`` script in this repository is
-responsible for building docker images.
-
-Guide
------
-
-In general, you will build images like this:
-
-::
-
- $ tools/build.py
-
-By default, the above command would build all images based on centos image.
-
-If you want to change the base distro image, add ``-b``:
-
-::
-
- $ tools/build.py -b ubuntu
-
-There are following distros available for building images:
-
-- fedora
-- centos
-- oraclelinux
-- ubuntu
-
-To push the image after building, add ``--push``:
-
-::
-
- $ tools/build.py --push
-
-
-If you want to build only keystone image, use the following command:
-
-::
-
- $ tools/build.py keystone
-
-
-If you want to build multiple images e.g. keystone and nova, use the following command:
-
-::
-
- $ tools/build.py keystone nova
-
-
-``tools/build.py`` use ``kollaglue`` as default namespace. If you
-want to push images to your dockerhub, change the namespace like:
-
-::
-
- $ tools/build.py -n yourusername --push
-
-
-Build Openstack from Source
----------------------------
-
-When building images, there are two methods of the Openstack install.
-One is ``binary``. Another is ``source``.
-The ``binary`` means that Openstack will be installed from apt/yum.
-And the ``source`` means that Openstack will be installed from source code.
-The default method of the Openstack install is ``binary``.
-You can change it to ``source`` using the following command:
-
-::
-
- tools/build.py -t source
-
-The locations of Opentack source code are written in ``build.ini``.
-Now the source type support ``url`` and ``git``. The ``build.ini`` looks like:
-
-::
-
- [glance-base]
- type = url
- location = http://tarballs.openstack.org/glance/glance-master.tar.gz
-
- [keystone]
- type = git
- location = https://github.com/openstack/keystone
- reference = stable/kilo