Port stx-mariadb base image to stx-debian

This change enables building the stx-mariadb Docker image within
the Debian build framework. It is now based on stx-debian and
following the new convention for StarlingX images.

Test Plan:
PASS - Build stx-mariadb debian image
PASS - Manually upload mariadb built image to a Standard system,
       use helm-override to change the garbd container image and
       reapply stx-openstack.
PASS - Check if the garbd pod starts successfully
PASS - Ensure that galera-arbitrator-3 is installed

Story: 2010072
Task: 46975

Signed-off-by: Romulo Leite <romulo.leite@windriver.com>
Change-Id: I1d5dbaa5b58dd2cb68e2dfcbe85d2943184f00ff
This commit is contained in:
Romulo Leite 2022-12-14 15:30:45 -03:00
parent edc77c3cec
commit f8b6b8faa0
3 changed files with 9 additions and 0 deletions

View File

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

View File

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

View File

@ -1,2 +1,3 @@
kubernetes/n3000 kubernetes/n3000
virt/libvirt virt/libvirt
database/mariadb