build mariadb docker image with galera arbitrator added

In order to support running the galera arbitrator we need to add
it to the openstack-helm mariadb docker image.  This means building
our own docker image for now.

I've talked with "jayahn" on the openstack-helm IRC channel, and they
said they had no objection to adding galera-arbitrator to their mariadb
image, so we should upstream it as soon as possible.  Once it's
upstreamed we can remove this.

Change-Id: I6ab2607abcd8e0d130ef80fbd1979c62a20a6ff4
Story: 2004712
Task:  29053
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
This commit is contained in:
Chris Friesen 2019-01-23 17:36:13 -05:00
parent e12b3a436f
commit 8b811b39a8
5 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1 @@
database/mariadb

View File

@ -1 +1,2 @@
virt/libvirt
database/mariadb

View File

@ -0,0 +1,6 @@
FROM openstackhelm/mariadb:10.2.18
RUN apt-get update && apt-get install -y galera-arbitrator-3
CMD ["/usr/bin/garbd"]

View File

@ -0,0 +1,3 @@
BUILDER=docker
LABEL=stx-mariadb

View File

@ -0,0 +1,3 @@
BUILDER=docker
LABEL=stx-mariadb