From 5954b6083863bc863b06745ad7c84663bc1679c3 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Wed, 14 Aug 2024 12:55:26 -0600 Subject: [PATCH] Fix percona-release install in bootstrap Signed-off-by: Florent Poinsard --- docker/bootstrap/Dockerfile.mysql57 | 4 ++-- docker/bootstrap/Dockerfile.percona57 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/bootstrap/Dockerfile.mysql57 b/docker/bootstrap/Dockerfile.mysql57 index 983f3640472..12195f11841 100644 --- a/docker/bootstrap/Dockerfile.mysql57 +++ b/docker/bootstrap/Dockerfile.mysql57 @@ -16,8 +16,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins echo percona-server-server-5.7 percona-server-server/root_password password 'unused'; \ echo percona-server-server-5.7 percona-server-server/root_password_again password 'unused'; \ } | debconf-set-selections && \ - percona-release enable-only tools \ - apt-get update -y && \ + apt-get update -y && apt-get install -y percona-release && \ + percona-release enable-only tools && \ DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server libmysqlclient-dev libdbd-mysql-perl rsync libev4 percona-xtrabackup-24 && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/bootstrap/Dockerfile.percona57 b/docker/bootstrap/Dockerfile.percona57 index e9cd5043d44..91f6aba8f29 100644 --- a/docker/bootstrap/Dockerfile.percona57 +++ b/docker/bootstrap/Dockerfile.percona57 @@ -13,8 +13,8 @@ RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.c echo percona-server-server-5.7 percona-server-server/root_password password 'unused'; \ echo percona-server-server-5.7 percona-server-server/root_password_again password 'unused'; \ } | debconf-set-selections && \ - percona-release enable-only tools \ - apt-get update && \ + apt-get update -y && apt-get install -y percona-release && \ + percona-release enable-only tools && \ apt-get install -y --no-install-recommends percona-server-server-5.7 && \ apt-get install -y --no-install-recommends libperconaserverclient20-dev percona-xtrabackup-24 && \ rm -rf /var/lib/apt/lists/*