Installing Percona server automatically without prompt

Hey guys !

I’m trying to automate the install of percona-server-server and percona-server-client, in a docker container (in the dockerfile)

I have an issue with silencing the prompt for root password. Is there any way to skip this prompt ? Here is what I’ve tried so far with no success.

RUN echo "deb http://repo.percona.com/apt jessie main" > /etc/apt/sources.list.d/percona-release.list \
&& apt-get -y install mysql-server \
&& apt-key adv --keyserver keys.gnupg.net --recv-keys 8507EFA5 \
&& apt-get update \
&& echo "percona-server-server-5.6 percona-server-server/root_password password root" | debconf-set-selections \
&& echo "percona-server-server-5.6 percona-server-server/root_password_again password root" | debconf-set-selections \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y percona-server-server-5.6 percona-server-client-5.6

https://jfg-mysql.blogspot.com/2018/11/howto-install-percona-server-57-on-debian-without-root-password-prompt.html