aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2016-04-01 10:41:25 -0400
committerRyan Hallisey <rhallise@redhat.com>2016-04-27 10:48:37 -0400
commit9fce1ac981c862da0fcb88b10dd99e22ad94fe3c (patch)
treee2d42a9bd61da8f89a7f665c106c64023cd08148
parenta22b7714e3147a4938b3a69d84640f847653ecbe (diff)
downloadkolla-9fce1ac981c862da0fcb88b10dd99e22ad94fe3c.tar.gz
kolla-9fce1ac981c862da0fcb88b10dd99e22ad94fe3c.zip
Document custom-repos
Change-Id: I8777a354acba4395d8ccc48e32cc4178db58461b
-rw-r--r--doc/image-building.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index 0cd80d0cd..677383c5e 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -137,6 +137,24 @@ Then build RHEL containers:
build -b rhel -i ./rhel-include
+Custom Repos
+------------
+
+The build method allows you to build your containers from custom repos.
+The repos are accepted as a list of comma separated values and can be in
+the form of .repo, .rpm, or a url. See examples below.
+
+Update rpm_setup_config in /etc/kolla/kolla-build.conf:
+::
+
+ rpm_setup_config = http://trunk.rdoproject.org/centos7/currrent/delorean.repo,http://trunk.rdoproject.org/centos7/delorean-deps.repo
+
+If you are specifying a .repo file, each .repo file will need to exist in the
+same directory as the base Dockerfile (kolla/docker/base).
+::
+
+ rpm_setup_config = epel.repo,delorean.repo,delorean-deps.repo
+
Plugin Functionality
--------------------