diff options
| author | Martin André <martin.andre@kvhasia.com> | 2015-02-26 15:00:42 +0900 |
|---|---|---|
| committer | Martin André <martin.andre@kvhasia.com> | 2015-03-02 14:08:06 +0900 |
| commit | 0764fd7dea3f56627bb42e285cfb818cce08229e (patch) | |
| tree | b31933605cef228bca79737cbefc94b79c5e2e8f /docker/cinder/Dockerfile | |
| parent | 5052e54f45998110ec10239bb715ff80d51042ab (diff) | |
| download | kolla-0764fd7dea3f56627bb42e285cfb818cce08229e.tar.gz kolla-0764fd7dea3f56627bb42e285cfb818cce08229e.zip | |
Allow changing base image
By changing the PREFIX variable in the .buildconf one is now able to
build docker images from different bases.
For example, add the following line to your .buildconf file to build
CentOS based images:
PREFIX=centos-rdo-
Default base image is Fedora. For now only RH family is supported.
Additionally, changing the namespace either with the NAMESPACE variable
in .buildconf or via --namespace commandline option now changes the
source namespace as well from the default kollaglue one.
Implements: blueprint multi-baseos
Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
Diffstat (limited to 'docker/cinder/Dockerfile')
| -rw-r--r-- | docker/cinder/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/cinder/Dockerfile b/docker/cinder/Dockerfile index 1df804cd9..52f211991 100644 --- a/docker/cinder/Dockerfile +++ b/docker/cinder/Dockerfile @@ -1,4 +1,4 @@ -FROM kollaglue/fedora-rdo-base +FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base MAINTAINER Kolla Project (https://launchpad.net/kolla) RUN yum -y install openstack-cinder && yum clean all |
