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
(cherry picked from commit df777c46ba
)
This commit is contained in:
parent
f4b60a7983
commit
4414d4534a
|
@ -1,6 +1,6 @@
|
||||||
FROM openstackhelm/mariadb:10.2.18
|
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"]
|
CMD ["/usr/bin/garbd"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue