From df777c46ba1cb0c9d4d3ed7cbd855d12de2168c8 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Thu, 18 Aug 2022 13:39:29 +0000 Subject: [PATCH] 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 Change-Id: Ibbb449755717a5dec28deebeb753dc8e993eacb9 --- database/mariadb/centos/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mariadb/centos/docker/Dockerfile b/database/mariadb/centos/docker/Dockerfile index 1735f8669..29c213bee 100644 --- a/database/mariadb/centos/docker/Dockerfile +++ b/database/mariadb/centos/docker/Dockerfile @@ -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"]