Add build from source for gnocchi
Change-Id: Ifd012b8cb7dd643da74364ecaa5133608fe9fe38 Partially-implements: blueprint install-from-source
This commit is contained in:
parent
3b394581ab
commit
ef07cfc222
8
docker/centos/source/gnocchi/gnocchi-api/Dockerfile
Normal file
8
docker/centos/source/gnocchi/gnocchi-api/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%gnocchi-base:%%KOLLA_TAG%%
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
COPY ./start.sh /start.sh
|
||||
|
||||
COPY config-internal.sh config-external.sh /opt/kolla/
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker/centos/source/gnocchi/gnocchi-api/build
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-api/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../tools/build-docker-image
|
1
docker/centos/source/gnocchi/gnocchi-api/config-external.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-api/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-api/config-external.sh
|
1
docker/centos/source/gnocchi/gnocchi-api/config-internal.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-api/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-api/config-internal.sh
|
1
docker/centos/source/gnocchi/gnocchi-api/start.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-api/start.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-api/start.sh
|
10
docker/centos/source/gnocchi/gnocchi-base/.buildinfo
Normal file
10
docker/centos/source/gnocchi/gnocchi-base/.buildinfo
Normal file
@ -0,0 +1,10 @@
|
||||
# Build info specific to this image. All values can be overridden in .buildconf
|
||||
|
||||
COMPONENT=gnocchi
|
||||
SOURCE_INSTALL_AVAILABLE=1
|
||||
|
||||
# Used for git install method
|
||||
: ${CLONE_FROM:=https://github.com/openstack/gnocchi}
|
||||
|
||||
# Used for curl install method
|
||||
: ${TARBALL_URI:=http://tarballs.openstack.org/gnocchi/gnocchi-master.tar.gz}
|
17
docker/centos/source/gnocchi/gnocchi-base/Dockerfile
Normal file
17
docker/centos/source/gnocchi/gnocchi-base/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
ADD ./gnocchi.tar /
|
||||
RUN ln -s /gnocchi-* /gnocchi
|
||||
|
||||
RUN cd /gnocchi \
|
||||
&& useradd --user-group gnocchi \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install /gnocchi \
|
||||
&& mkdir /etc/gnocchi /var/log/gnocchi \
|
||||
&& cp -r /gnocchi/etc/* /etc/gnocchi/ \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
COPY config-gnocchi.sh /opt/kolla/config-gnocchi.sh
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker/centos/source/gnocchi/gnocchi-base/build
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-base/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../tools/build-docker-image
|
1
docker/centos/source/gnocchi/gnocchi-base/config-gnocchi.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-base/config-gnocchi.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-base/config-gnocchi.sh
|
8
docker/centos/source/gnocchi/gnocchi-statsd/Dockerfile
Normal file
8
docker/centos/source/gnocchi/gnocchi-statsd/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%gnocchi-base:%%KOLLA_TAG%%
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
COPY ./start.sh /start.sh
|
||||
|
||||
COPY config-internal.sh config-external.sh /opt/kolla/
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker/centos/source/gnocchi/gnocchi-statsd/build
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-statsd/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../tools/build-docker-image
|
1
docker/centos/source/gnocchi/gnocchi-statsd/config-external.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-statsd/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-statsd/config-external.sh
|
1
docker/centos/source/gnocchi/gnocchi-statsd/config-internal.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-statsd/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-statsd/config-internal.sh
|
1
docker/centos/source/gnocchi/gnocchi-statsd/start.sh
Symbolic link
1
docker/centos/source/gnocchi/gnocchi-statsd/start.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../common/gnocchi/gnocchi-statsd/start.sh
|
Loading…
Reference in New Issue
Block a user