Adding default configs to build from git repo
Images will be built with sources from master branch of https://github.com/openstack/glance.git repository by default. Change-Id: Icff479bb34e1734f1ff8ac8eef217a6b36ef79ca Depends-On: I4d91aa8632fcd55735d791300fde475696b435b5
This commit is contained in:
parent
57819f40c6
commit
6430a67394
|
@ -1,12 +1,9 @@
|
|||
FROM {{ namespace }}/openstack-base:{{ tag }}
|
||||
MAINTAINER {{ maintainer }}
|
||||
|
||||
RUN curl -o glance-{{ branch }}.tar.gz http://tarballs.openstack.org/glance/glance-{{ branch }}.tar.gz \
|
||||
&& tar -zxvf glance-{{ branch }}.tar.gz
|
||||
{{ copy_sources("openstack/glance", "/glance") }}
|
||||
|
||||
RUN mv glance*/ glance-{{ branch }}/ \
|
||||
&& ln -s glance-{{ branch }} /glance \
|
||||
&& useradd --user-group glance \
|
||||
RUN useradd --user-group glance \
|
||||
&& /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c /glance/requirements.txt /glance \
|
||||
&& mkdir -p /var/lib/glance /etc/glance \
|
||||
&& chown -R glance: /var/lib/glance \
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
configs:
|
||||
glance_api_port: 9292
|
||||
glance_registry_port: 9191
|
||||
glance_api_port: 9292
|
||||
glance_registry_port: 9191
|
||||
|
||||
glance_db_username: glance
|
||||
glance_db_password: password
|
||||
glance_db_name: glance
|
||||
glance_db_username: glance
|
||||
glance_db_password: password
|
||||
glance_db_name: glance
|
||||
|
||||
glance_user: glance
|
||||
glance_password: password
|
||||
glance_user: glance
|
||||
glance_password: password
|
||||
|
||||
glance_memcache_secret_key: secret_key
|
||||
glance_memcache_secret_key: secret_key
|
||||
|
||||
glance_debug: false
|
||||
glance_debug: false
|
||||
|
||||
sources:
|
||||
openstack/glance:
|
||||
git_url: https://github.com/openstack/glance.git
|
||||
git_ref: master
|
||||
|
|
Loading…
Reference in New Issue