integ/database/mariadb/debian/docker/Dockerfile
Romulo Leite f8b6b8faa0 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
2022-12-15 15:20:20 -03:00

7 lines
166 B
Docker

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"]