Add build from source for Barbican
Change-Id: I22691c41668e94f926daaf0890ef1300cc791d53 Partially-implements: blueprint install-from-source
This commit is contained in:
parent
e70e422ca8
commit
0f18d8f0c4
10
docker/centos/source/barbican/.buildinfo
Normal file
10
docker/centos/source/barbican/.buildinfo
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Build info specific to this image. All values can be overridden in .buildconf
|
||||||
|
|
||||||
|
COMPONENT=barbican
|
||||||
|
SOURCE_INSTALL_AVAILABLE=1
|
||||||
|
|
||||||
|
# Used for git install method
|
||||||
|
: ${CLONE_FROM:=https://github.com/openstack/barbican}
|
||||||
|
|
||||||
|
# Used for curl install method
|
||||||
|
: ${TARBALL_URI:=http://tarballs.openstack.org/barbican/barbican-master.tar.gz}
|
19
docker/centos/source/barbican/Dockerfile
Normal file
19
docker/centos/source/barbican/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
||||||
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
|
ADD ./barbican.tar /
|
||||||
|
RUN ln -s /barbican-* /barbican
|
||||||
|
|
||||||
|
RUN cd /barbican \
|
||||||
|
&& useradd --user-group barbican \
|
||||||
|
&& pip install uwsgi \
|
||||||
|
&& pip install -r requirements.txt \
|
||||||
|
&& pip install /barbican \
|
||||||
|
&& mkdir /etc/barbican /var/log/barbican \
|
||||||
|
&& cp -r /barbican/etc/* /etc/barbican \
|
||||||
|
&& rm -rf /root/.cache
|
||||||
|
|
||||||
|
COPY ./start.sh /start.sh
|
||||||
|
COPY config-internal.sh config-external.sh /opt/kolla/
|
||||||
|
|
||||||
|
CMD ["/start.sh"]
|
1
docker/centos/source/barbican/build
Symbolic link
1
docker/centos/source/barbican/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../tools/build-docker-image
|
1
docker/centos/source/barbican/config-external.sh
Symbolic link
1
docker/centos/source/barbican/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../common/barbican/config-external.sh
|
1
docker/centos/source/barbican/config-internal.sh
Symbolic link
1
docker/centos/source/barbican/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../common/barbican/config-internal.sh
|
1
docker/centos/source/barbican/start.sh
Symbolic link
1
docker/centos/source/barbican/start.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../common/barbican/start.sh
|
@ -12,11 +12,13 @@ RUN yum install -y \
|
|||||||
mariadb \
|
mariadb \
|
||||||
mysql-devel \
|
mysql-devel \
|
||||||
MySQL-python \
|
MySQL-python \
|
||||||
|
openldap-devel \
|
||||||
openssl \
|
openssl \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
postgresql-devel \
|
postgresql-devel \
|
||||||
python-devel \
|
python-devel \
|
||||||
python-oslo-policy \
|
python-oslo-policy \
|
||||||
|
sqlite-devel \
|
||||||
tar \
|
tar \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user