Skip to content
Snippets Groups Projects
Commit 611b69be authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Adding cinder source image"

parents 92209304 ed62fdf8
No related branches found
No related tags found
No related merge requests found
Showing
with 83 additions and 3 deletions
......@@ -3,17 +3,21 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Dependencies required for building/installing source components
RUN yum install -y \
epel-release \
gcc \
git \
libffi-devel \
libxml2-devel \
libxslt-devel \
mariadb \
mysql-devel \
MySQL-python \
openssl \
openssl-devel \
postgresql-devel \
python-devel \
python-oslo-policy \
tar \
libxml2-devel \
libxslt-devel \
&& yum clean all
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
......@@ -24,7 +28,8 @@ RUN pip install --upgrade \
cachetools \
crudini \
crux \
pip
pip \
tox
RUN mkdir -p /opt/kolla
COPY service_hosts.sh kolla-common.sh /opt/kolla/
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN pip install python-keystoneclient
COPY config-internal.sh config-external.sh /opt/kolla/
COPY ./start.sh ./check.sh /
CMD ["/start.sh"]
../../../../../tools/build-docker-image
\ No newline at end of file
../../../../common/cinder-app/cinder-api/check.sh
\ No newline at end of file
../../../../common/cinder-app/cinder-api/config-external.sh
\ No newline at end of file
../../../../common/cinder-app/cinder-api/config-internal.sh
\ No newline at end of file
../../../../common/cinder-app/cinder-api/start.sh
\ No newline at end of file
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-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"]
../../../../../tools/build-docker-image
\ No newline at end of file
../../../../common/cinder-app/cinder-backup/config-external.sh
\ No newline at end of file
../../../../common/cinder-app/cinder-backup/config-internal.sh
\ No newline at end of file
../../../../common/cinder-app/cinder-backup/start.sh
\ No newline at end of file
# Build info specific to this image. All values can be overridden in .buildconf
COMPONENT=cinder
SOURCE_INSTALL_AVAILABLE=1
SOURCE_INSTALL_METHOD=curl
# Used for git install method
: ${CLONE_FROM:=https://github.com/openstack/cinder}
# Used for curl install method
: ${TARBALL_URI:=http://tarballs.openstack.org/cinder/cinder-master.tar.gz}
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./cinder.tar /
RUN ln -s /cinder-* /cinder
RUN cd /cinder \
&& useradd --user-group cinder \
&& pip install -r requirements.txt \
&& pip install /cinder \
&& tox -egenconfig \
&& mkdir /etc/cinder /var/log/cinder \
&& cp -r /cinder/etc/cinder/* /etc/cinder/ \
&& cp /etc/cinder/cinder.conf.sample /etc/cinder/cinder.conf \
&& chown -R cinder: /etc/cinder /var/log/cinder \
&& rm -rf /root/.cache
COPY config-cinder.sh /opt/kolla/config-cinder.sh
../../../../../tools/build-docker-image
\ No newline at end of file
../../../../common/cinder-app/cinder-base/config-cinder.sh
\ No newline at end of file
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN mkdir -p /opt/data
VOLUME [ "/opt/data" ]
# Command needed to start the data container.
# Note: data containers do not need to be persistent.
CMD ["/bin/true"]
../../../../../tools/build-docker-image
\ No newline at end of file
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-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"]
../../../../../tools/build-docker-image
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment