Add build from source for Designate

Change-Id: I8491cab43697f2b0d40ddb72b428a918591cd22d
Partially-implements: blueprint install-from-source
This commit is contained in:
Swapnil Kulkarni 2015-07-17 09:45:50 +00:00
parent 922093044e
commit 8d2084e1af
36 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-api/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-api/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-api/start.sh

View File

@ -0,0 +1,6 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
VOLUME [ "/var/named" ]
CMD [ "/bin/true" ]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-backend-bind9/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-backend-bind9/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-backend-bind9/start.sh

View File

@ -0,0 +1,11 @@
# Build info specific to this image. All values can be overridden in .buildconf
COMPONENT=designate
SOURCE_INSTALL_AVAILABLE=1
# Used for git install method
: ${CLONE_FROM:=https://github.com/openstack/designate}
# Used for curl install method
: ${TARBALL_URI:=http://tarballs.openstack.org/designate/designate-master.tar.gz}

View File

@ -0,0 +1,17 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./designate.tar /
RUN ln -s /designate-* /designate
RUN cd /designate \
&& useradd --user-group designate \
&& pip install -r requirements.txt \
&& pip install /designate \
&& mkdir /etc/designate /var/log/designate \
&& cp -r /designate/etc/* /etc/designate/ \
&& rm -rf /root/.cache
COPY config-designate.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-base/config-designate.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-central/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-central/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-central/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-mdns/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-mdns/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-mdns/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-poolmanager/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-poolmanager/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-poolmanager/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%designate-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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/designate/designate-sink/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-sink/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/designate/designate-sink/start.sh