Skip to content

Commit

Permalink
CLOUD-687 Replace mirror with vault
Browse files Browse the repository at this point in the history
  • Loading branch information
cap1984 committed Mar 4, 2022
1 parent 98bac11 commit 8c4c7aa
Show file tree
Hide file tree
Showing 24 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion fluentbit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENV PERCONA_VERSION 8.0.26-16.1.el8
RUN set -ex; \
microdnf install -y postgresql-libs shadow-utils yum-utils logrotate make libpq compat-openssl10 \
percona-xtradb-cluster-client-${PERCONA_VERSION} tar vim-minimal; \
curl -Lf -o /tmp/procps-ng.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/procps-ng.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-6.el8.x86_64.rpm; \
curl -Lf https://github.com/michaloo/go-cron/releases/download/v0.0.2/go-cron.tar.gz -o /tmp/go-cron.tar.gz; \
tar xvf /tmp/go-cron.tar.gz -C /usr/bin; \
curl -Lf https://packages.fluentbit.io/centos/7/x86_64/td-agent-bit-1.8.11-1.x86_64.rpm -o /tmp/td-agent-bit.rpm; \
Expand Down
2 changes: 1 addition & 1 deletion percona-distribution-postgresql-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN useradd -u 1001 -r -g 0 -s /sbin/nologin \

RUN set -ex; \
export GNUPGHOME="$(mktemp -d)"; \
curl -Lf -o /tmp/perl-JSON.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
curl -Lf -o /tmp/perl-JSON.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
rpmkeys --checksig /tmp/perl-JSON.rpm; \
rpm -i /tmp/perl-JSON.rpm

Expand Down
2 changes: 1 addition & 1 deletion percona-distribution-postgresql-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN useradd -u 1001 -r -g 0 -s /sbin/nologin \

RUN set -ex; \
export GNUPGHOME="$(mktemp -d)"; \
curl -Lf -o /tmp/perl-JSON.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
curl -Lf -o /tmp/perl-JSON.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
rpmkeys --checksig /tmp/perl-JSON.rpm; \
rpm -i /tmp/perl-JSON.rpm

Expand Down
2 changes: 1 addition & 1 deletion percona-distribution-postgresql-13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN useradd -u 1001 -r -g 0 -s /sbin/nologin \

RUN set -ex; \
export GNUPGHOME="$(mktemp -d)"; \
curl -Lf -o /tmp/perl-JSON.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
curl -Lf -o /tmp/perl-JSON.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
rpmkeys --checksig /tmp/perl-JSON.rpm; \
rpm -i /tmp/perl-JSON.rpm

Expand Down
2 changes: 1 addition & 1 deletion percona-distribution-postgresql-14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN useradd -u 1001 -r -g 0 -s /sbin/nologin \

RUN set -ex; \
export GNUPGHOME="$(mktemp -d)"; \
curl -Lf -o /tmp/perl-JSON.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
curl -Lf -o /tmp/perl-JSON.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/perl-JSON-2.97.001-2.el8.noarch.rpm; \
rpmkeys --checksig /tmp/perl-JSON.rpm; \
rpm -i /tmp/perl-JSON.rpm

Expand Down
2 changes: 1 addition & 1 deletion percona-server-5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -ex; \
rpmkeys --checksig /tmp/percona-release.rpm; \
yum install -y /tmp/percona-release.rpm; \
\
curl -Lf -o /tmp/nss.rpm http://mirror.centos.org/centos/7/updates/x86_64/Packages/nss-3.67.0-4.el7_9.x86_64.rpm; \
curl -Lf -o /tmp/nss.rpm http://vault.centos.org/centos/7/updates/x86_64/Packages/nss-3.67.0-4.el7_9.x86_64.rpm; \
rpmkeys --checksig /tmp/nss.rpm; \
yum install -y /tmp/nss.rpm; \
\
Expand Down
2 changes: 1 addition & 1 deletion percona-server-5.6/Dockerfile-dockerhub
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -ex; \
rpmkeys --checksig /tmp/percona-release.rpm; \
yum install -y /tmp/percona-release.rpm; \
\
curl -Lf -o /tmp/nss.rpm http://mirror.centos.org/centos/7/updates/x86_64/Packages/nss-3.67.0-4.el7_9.x86_64.rpm; \
curl -Lf -o /tmp/nss.rpm http://vault.centos.org/centos/7/updates/x86_64/Packages/nss-3.67.0-4.el7_9.x86_64.rpm; \
rpmkeys --checksig /tmp/nss.rpm; \
yum install -y /tmp/nss.rpm; \
\
Expand Down
2 changes: 1 addition & 1 deletion percona-server-5.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -ex; \
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY; \
#microdnf -y module disable mysql; \
curl -Lf -o /tmp/numactl-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/numactl-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/numactl-libs.rpm; \
rpm -i /tmp/numactl-libs.rpm; \
rm -rf /tmp/numactl-libs.rpm
Expand Down
2 changes: 1 addition & 1 deletion percona-server-5.7/Dockerfile-dockerhub
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN set -ex; \
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY; \
dnf -y module disable mysql; \
#curl -Lf -o /tmp/numactl-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
#curl -Lf -o /tmp/numactl-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
#rpmkeys --checksig /tmp/numactl-libs.rpm; \
#rpm -i /tmp/numactl-libs.rpm; \
#rm -rf /tmp/numactl-libs.rpm
Expand Down
2 changes: 1 addition & 1 deletion percona-server-8.0/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN set -ex; \
#microdnf -y module disable mysql; \
percona-release disable all; \
percona-release enable ps-80 release; \
curl -Lf -o /tmp/numactl-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/numactl-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/numactl-libs.rpm; \
rpm -i /tmp/numactl-libs.rpm; \
rm -rf /tmp/numactl-libs.rpm
Expand Down
12 changes: 6 additions & 6 deletions percona-server-mongodb-3.6/Dockerfile.k8s
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
rm -rf /tmp/jq.rpm /tmp/oniguruma.rpm
Expand All @@ -54,9 +54,9 @@ RUN set -ex; \
Percona-Server-MongoDB-36-shell-${FULL_PERCONA_VERSION} \
Percona-Server-MongoDB-36-mongos-${FULL_PERCONA_VERSION}; \
\
curl -Lf -o /tmp/policycoreutils.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/policycoreutils-2.9-9.el8.x86_64.rpm; \
curl -Lf -o /tmp/elfutils-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/elfutils-libs-0.180-1.el8.x86_64.rpm; \
curl -Lf -o /tmp/procps-ng.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-3.el8.x86_64.rpm; \
curl -Lf -o /tmp/policycoreutils.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/policycoreutils-2.9-9.el8.x86_64.rpm; \
curl -Lf -o /tmp/elfutils-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/elfutils-libs-0.180-1.el8.x86_64.rpm; \
curl -Lf -o /tmp/procps-ng.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-3.el8.x86_64.rpm; \
curl -Lf -o /tmp/Percona-Server-MongoDB-36-server.rpm https://repo.percona.com/yum/release/8/RPMS/x86_64/Percona-Server-MongoDB-36-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \
rpmkeys --checksig /tmp/policycoreutils.rpm /tmp/elfutils-libs.rpm /tmp/procps-ng.rpm /tmp/Percona-Server-MongoDB-36-server.rpm; \
rpm -iv /tmp/policycoreutils.rpm /tmp/elfutils-libs.rpm /tmp/procps-ng.rpm /tmp/Percona-Server-MongoDB-36-server.rpm --nodeps; \
Expand Down Expand Up @@ -90,7 +90,7 @@ ARG DEBUG
RUN if [[ -n $DEBUG ]] ; then \
set -ex; \
sed -i 's/exec "$@"/exec "$@" -vvv || sleep infinity/' /entrypoint.sh; \
curl -Lf -o /tmp/telnet.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-73.el8_1.1.x86_64.rpm; \
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-73.el8_1.1.x86_64.rpm; \
rpm -i /tmp/telnet.rpm; \
rm -f /tmp/telnet.rpm; \

Expand Down
4 changes: 2 additions & 2 deletions percona-server-mongodb-4.0/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RUN set -ex; \
percona-release enable psmdb-40 release

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
\
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
Expand Down
4 changes: 2 additions & 2 deletions percona-server-mongodb-4.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN set -ex; \
percona-release enable psmdb-42 release

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
\
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
Expand Down
2 changes: 1 addition & 1 deletion percona-server-mongodb-4.2/Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ USER 0

RUN set -ex; \
sed -i 's/exec "$@"/exec "$@" -vvv || sleep infinity/' /entrypoint.sh; \
curl -Lf -o /tmp/telnet.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
rpm -i /tmp/telnet.rpm; \
rm -f /tmp/telnet.rpm; \
dnf install -y \
Expand Down
4 changes: 2 additions & 2 deletions percona-server-mongodb-4.2/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RUN set -ex; \
percona-release enable psmdb-42 release

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
\
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
Expand Down
4 changes: 2 additions & 2 deletions percona-server-mongodb-4.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN set -ex; \
percona-release enable psmdb-44 release

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
\
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
Expand Down
2 changes: 1 addition & 1 deletion percona-server-mongodb-4.4/Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ USER 0

RUN set -ex; \
sed -i 's/exec "$@"/exec "$@" -vvv || sleep infinity/' /entrypoint.sh; \
curl -Lf -o /tmp/telnet.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
rpm -i /tmp/telnet.rpm; \
rm -f /tmp/telnet.rpm; \
dnf install -y \
Expand Down
4 changes: 2 additions & 2 deletions percona-server-mongodb-4.4/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ RUN set -ex; \
percona-release enable psmdb-44 release

RUN set -ex; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/jq.rpm /tmp/oniguruma.rpm; \
\
rpm -i /tmp/jq.rpm /tmp/oniguruma.rpm; \
Expand Down
2 changes: 1 addition & 1 deletion percona-xtrabackup-2.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN set -ex; \
percona-release enable tools testing

RUN set -ex; \
curl -Lf -o /tmp/libev.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/libev.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
rpm -i /tmp/libev.rpm; \
rm -rf /tmp/libev.rpm; \
#dnf --setopt=install_weak_deps=False install -y \
Expand Down
14 changes: 7 additions & 7 deletions percona-xtradb-cluster-8.0-backup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

RUN set -ex; \
curl -Lf -o /tmp/numactl-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/libev.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/numactl-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/libev.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/pv.rpm http://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/p/pv-1.6.6-7.el8.x86_64.rpm; \
curl -Lf -o /tmp/socat.rpm http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/socat-1.7.4.1-1.el8.x86_64.rpm; \
curl -Lf -o /tmp/socat.rpm http://vault.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/socat-1.7.4.1-1.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/socat.rpm /tmp/numactl-libs.rpm /tmp/libev.rpm /tmp/jq.rpm /tmp/oniguruma.rpm /tmp/pv.rpm; \
rpm -i /tmp/socat.rpm /tmp/numactl-libs.rpm /tmp/libev.rpm /tmp/jq.rpm /tmp/oniguruma.rpm /tmp/pv.rpm; \
rm -rf /tmp/socat.rpm /tmp/numactl-libs.rpm /tmp/libev.rpm /tmp/jq.rpm /tmp/oniguruma.rpm /tmp/pv.rpm
Expand Down Expand Up @@ -95,8 +95,8 @@ RUN set -ex; \
curl -Lf -o /tmp/percona-server-shared.rpm http://repo.percona.com/ps-80/yum/${PXC_REPO}/8/RPMS/x86_64/percona-server-shared-${FULL_PERCONA_VERSION}.x86_64.rpm; \
curl -Lf -o /tmp/percona-xtradb-cluster-garbd.rpm https://repo.percona.com/pxc-80/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtradb-cluster-garbd-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \
curl -Lf -o /tmp/percona-xtradb-cluster-client.rpm https://repo.percona.com/pxc-80/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtradb-cluster-client-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \
curl -Lf -o /tmp/procps-ng.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/iputils.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/iputils-20180629-7.el8.x86_64.rpm; \
curl -Lf -o /tmp/procps-ng.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/procps-ng-3.3.15-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/iputils.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/iputils-20180629-7.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/procps-ng.rpm /tmp/iputils.rpm /tmp/percona-xtradb-cluster-garbd.rpm /tmp/percona-xtrabackup.rpm /tmp/percona-xtradb-cluster-client.rpm /tmp/percona-server-shared.rpm; \
rpm -iv /tmp/procps-ng.rpm /tmp/iputils.rpm /tmp/percona-xtradb-cluster-garbd.rpm /tmp/percona-xtrabackup.rpm /tmp/percona-xtradb-cluster-client.rpm /tmp/percona-server-shared.rpm --nodeps; \
rm -rf /tmp/procps-ng.rpm /tmp/percona-xtradb-cluster-garbd.rpm /tmp/percona-xtrabackup.rpm /tmp/percona-xtradb-cluster-client.rpm /tmp/percona-server-shared.rpm; \
Expand Down
18 changes: 9 additions & 9 deletions percona-xtradb-cluster-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

RUN set -ex; \
curl -Lf -o /tmp/numactl-libs.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/libev.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/numactl-libs.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/numactl-libs-2.0.12-13.el8.x86_64.rpm; \
curl -Lf -o /tmp/libev.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/libev-4.24-6.el8.x86_64.rpm; \
curl -Lf -o /tmp/jq.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/jq-1.5-12.el8.x86_64.rpm; \
curl -Lf -o /tmp/oniguruma.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/oniguruma-6.8.2-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/pv.rpm http://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/p/pv-1.6.6-7.el8.x86_64.rpm; \
curl -Lf -o /tmp/socat.rpm https://vault.centos.org/8.4.2105/AppStream/x86_64/os/Packages/socat-1.7.3.3-2.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/socat.rpm /tmp/numactl-libs.rpm /tmp/libev.rpm /tmp/jq.rpm /tmp/oniguruma.rpm /tmp/pv.rpm; \
Expand Down Expand Up @@ -69,7 +69,7 @@ RUN groupadd -g 1001 mysql; \
# we need licenses from docs
RUN set -ex; \
# systemd is required for nss-pam-ldap
curl -Lf -o /tmp/nss-pam-ldapd.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/nss-pam-ldapd-0.9.9-3.el8.x86_64.rpm; \
curl -Lf -o /tmp/nss-pam-ldapd.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/nss-pam-ldapd-0.9.9-3.el8.x86_64.rpm; \
rpmkeys --checksig /tmp/nss-pam-ldapd.rpm; \
rpm -iv /tmp/nss-pam-ldapd.rpm --nodeps; \
rm -rf /tmp/nss-pam-ldapd.rpm; \
Expand Down Expand Up @@ -118,10 +118,10 @@ RUN if [[ -n $DEBUG ]] ; then \
percona-toolkit \
gdb; \
percona-release disable pdpxc-8.0 release; \
curl -Lf -o /tmp/telnet.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
curl -Lf -o /tmp/tcpdump.rpm http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/tcpdump-4.9.3-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/perf.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/perf-4.18.0-348.el8.x86_64.rpm; \
curl -Lf -o /tmp/strace.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/strace-5.7-3.el8.x86_64.rpm; \
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/telnet-0.17-76.el8.x86_64.rpm; \
curl -Lf -o /tmp/tcpdump.rpm http://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/tcpdump-4.9.3-2.el8.x86_64.rpm; \
curl -Lf -o /tmp/perf.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/perf-4.18.0-348.el8.x86_64.rpm; \
curl -Lf -o /tmp/strace.rpm http://vault.centos.org/centos/8/BaseOS/x86_64/os/Packages/strace-5.7-3.el8.x86_64.rpm; \
curl -Lf -o /tmp/percona-xtradb-cluster-debuginfo.rpm https://repo.percona.com/pxc-80/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtradb-cluster-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \
curl -Lf -o /tmp/percona-xtradb-cluster-server-debuginfo.rpm https://repo.percona.com/pxc-80/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtradb-cluster-server-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \
rpmkeys --checksig /tmp/telnet.rpm /tmp/tcpdump.rpm /tmp/perf.rpm /tmp/strace.rpm /tmp/percona-xtradb-cluster-debuginfo.rpm /tmp/percona-xtradb-cluster-server-debuginfo.rpm; \
Expand Down
Loading

0 comments on commit 8c4c7aa

Please sign in to comment.