зеркало из https://github.com/github/vitess-gh.git
docker: remove keys.gnupg.net dependency
Signed-off-by: Vicent Marti <vmg@strn.cat>
This commit is contained in:
Родитель
e48b53df34
Коммит
6c55d1d63c
|
@ -4,7 +4,7 @@ ARG image="vitess/bootstrap:${bootstrap_version}-common"
|
|||
FROM "${image}"
|
||||
|
||||
# Install MariaDB 10
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.percona.com/apt buster main' && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
|
@ -12,7 +12,7 @@ FROM "${image}"
|
|||
#
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --recv-keys --keyserver keyserver.ubuntu.com 8C718D3B5072E1F5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.mysql.com/apt/debian/ stretch mysql-5.6' && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
echo 'deb http://repo.percona.com/apt buster main' > /etc/apt/sources.list.d/percona.list && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
|
@ -7,7 +7,7 @@ FROM "${image}"
|
|||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg dirmngr ca-certificates && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --recv-keys --keyserver keyserver.ubuntu.com 8C718D3B5072E1F5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.mysql.com/apt/debian/ buster mysql-5.7' && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
echo 'deb http://repo.percona.com/apt buster main' > /etc/apt/sources.list.d/percona.list && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
|
@ -6,7 +6,7 @@ FROM "${image}"
|
|||
# Install MySQL 8.0
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --recv-keys --keyserver keyserver.ubuntu.com 8C718D3B5072E1F5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.mysql.com/apt/debian/ buster mysql-8.0' && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
echo 'deb http://repo.percona.com/apt buster main' > /etc/apt/sources.list.d/percona.list && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
|
@ -14,7 +14,7 @@ FROM "${image}"
|
|||
# 'buster' repository as the 'stretch' package requires 'libcurl3' that is not present
|
||||
# in Debian Buster.
|
||||
#
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.percona.com/apt stretch main' && \
|
||||
add-apt-repository 'deb http://repo.percona.com/apt buster main' && \
|
||||
{ \
|
||||
|
|
|
@ -4,7 +4,7 @@ ARG image="vitess/bootstrap:${bootstrap_version}-common"
|
|||
FROM "${image}"
|
||||
|
||||
# Install Percona 5.7
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done && \
|
||||
add-apt-repository 'deb http://repo.percona.com/apt buster main' && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
|
@ -4,7 +4,7 @@ ARG image="vitess/bootstrap:${bootstrap_version}-common"
|
|||
FROM "${image}"
|
||||
|
||||
# Install Percona 8.0
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done \
|
||||
RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 9334A25F8507EFA5 && break; done \
|
||||
&& echo 'deb http://repo.percona.com/ps-80/apt buster main' > /etc/apt/sources.list.d/percona.list && \
|
||||
{ \
|
||||
echo debconf debconf/frontend select Noninteractive; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче