Fix the stx-mariadb docker build errors

When building the docker image, the apt-get update fails
due to:
   /etc/apt/sources.list.d/mariadb.list
which contains a repo that no longer exists
  http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu

To get the docker build to work, that repo needs to
be removed prior to running the 'update'

Closes-Bug: 1986828
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ibbb449755717a5dec28deebeb753dc8e993eacb9
This commit is contained in:
Al Bailey 2022-08-18 13:39:29 +00:00
parent bb2721ebba
commit df777c46ba

View File

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