-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PKG-288]: Updates xtradb cluster Dockerfiles to use ubi9-minimal as … #1080
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6bc9bb2
[PKG-288]: Updates xtradb cluster Dockerfiles to use ubi9-minimal as …
maqeel75 fc98899
Install socat and oniguruma from appstream repo
maqeel75 069425d
Downloaded packages installation was failing because of missing packa…
maqeel75 f09aca1
Fixed typo in package name
maqeel75 1718fb9
Fixed golang version
maqeel75 4a01bbc
Merge branch 'main' into main
maqeel75 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ RUN git clone --branch=main https://github.com/percona/percona-xtradb-cluster-op | |
WORKDIR /go/src/github.com/percona/percona-xtradb-cluster-operator/cmd/peer-list | ||
RUN go build | ||
|
||
FROM redhat/ubi8-minimal | ||
FROM redhat/ubi9-minimal | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV PXB_VERSION 2.4.29-1 | ||
ENV PXC_VERSION 5.7.44-31.65.1 | ||
ENV PXC_REPO release | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_XTRABACKUP_VERSION "$PXB_VERSION.$OS_VER" | ||
ENV FULL_PERCONA_XTRADBCLUSTER_VERSION "$PXC_VERSION.$OS_VER" | ||
ENV PXC_TELEMETRY_VERSION 5.7.44-31.65-1 | ||
|
@@ -29,9 +29,8 @@ RUN set -ex; \ | |
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 76FD3DB13AB67410B89DB10E82562EA9AD986DA3; \ | ||
gpg --batch --export --armor 4D1BB29D63D98E422B2113B19334A25F8507EFA5 > ${GNUPGHOME}/PERCONA-PACKAGING-KEY; \ | ||
gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8; \ | ||
gpg --batch --export --armor 76FD3DB13AB67410B89DB10E82562EA9AD986DA3 > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
microdnf install -y findutils; \ | ||
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; \ | ||
rpmkeys --checksig /tmp/percona-release.rpm; \ | ||
|
@@ -42,24 +41,24 @@ RUN set -ex; \ | |
percona-release enable pxc-57 ${PXC_REPO} | ||
|
||
RUN set -ex; \ | ||
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://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/socat-1.7.4.1-1.el8.x86_64.rpm; \ | ||
curl -O https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9; \ | ||
rpm --import RPM-GPG-KEY-EPEL-9; \ | ||
curl -Lf -o /tmp/numactl-libs.rpm https://downloads.percona.com/downloads/packaging/numactl-libs-2.0.18-2.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/libev.rpm https://downloads.percona.com/downloads/packaging/libev-4.33-5.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/jq.rpm https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/jq-1.6-14.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/oniguruma.rpm https://downloads.percona.com/downloads/packaging/oniguruma-6.9.6-1.el9.6.x86_64.rpm; \ | ||
curl -Lf -o /tmp/pv.rpm http://download.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/p/pv-1.6.20-1.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/socat.rpm https://downloads.percona.com/downloads/packaging/socat-1.7.4.1-6.el9.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 | ||
|
||
RUN set -ex; \ | ||
rpm -e --nodeps tzdata; \ | ||
microdnf --setopt=install_weak_deps=0 --best install -y \ | ||
jemalloc \ | ||
openssl \ | ||
shadow-utils \ | ||
hostname \ | ||
curl \ | ||
tzdata \ | ||
diffutils \ | ||
libaio \ | ||
|
@@ -73,7 +72,6 @@ RUN set -ex; \ | |
tar; \ | ||
microdnf update \ | ||
curl \ | ||
glibc \ | ||
libnghttp2 \ | ||
python3; \ | ||
microdnf clean all; \ | ||
|
@@ -87,14 +85,14 @@ 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://vault.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 https://downloads.percona.com/downloads/packaging/nss-pam-ldapd-0.9.10-13.el9.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; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-shared.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-shared-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-client.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-client-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtrabackup-24.rpm https://repo.percona.com/pxb-24/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtrabackup-24-${FULL_PERCONA_XTRABACKUP_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-shared.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-shared-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-client.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-client-57-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtrabackup-24.rpm https://repo.percona.com/pxb-24/yum/${PXC_REPO}/9/RPMS/x86_64/percona-xtrabackup-24-${FULL_PERCONA_XTRABACKUP_VERSION}.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/percona-xtrabackup-24.rpm /tmp/percona-xtradb-cluster-server.rpm /tmp/percona-xtradb-cluster-shared.rpm /tmp/percona-xtradb-cluster-client.rpm; \ | ||
rpm -iv /tmp/percona-xtrabackup-24.rpm /tmp/percona-xtradb-cluster-server.rpm /tmp/percona-xtradb-cluster-shared.rpm /tmp/percona-xtradb-cluster-client.rpm --nodeps; \ | ||
microdnf clean all; \ | ||
|
@@ -131,9 +129,9 @@ RUN if [[ -n $DEBUG ]] ; then \ | |
net-tools \ | ||
nc \ | ||
gdb; \ | ||
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/percona-xtradb-cluster-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/9/AppStream/x86_64/os/Packages/telnet-0.17-76.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/telnet.rpm /tmp/percona-xtradb-cluster-debuginfo.rpm /tmp/percona-xtradb-cluster-server-debuginfo.rpm; \ | ||
rpm -i /tmp/telnet.rpm /tmp/percona-xtradb-cluster-debuginfo.rpm /tmp/percona-xtradb-cluster-server-debuginfo.rpm --nodeps; \ | ||
rm -rf /tmp/telnet.rpm /tmp/percona-xtradb-cluster-debuginfo.rpm /tmp/percona-xtradb-cluster-server-debuginfo.rpm; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ RUN git clone --branch=main https://github.com/percona/percona-xtradb-cluster-op | |
WORKDIR /go/src/github.com/percona/percona-xtradb-cluster-operator/cmd/peer-list | ||
RUN go build | ||
|
||
FROM redhat/ubi8-minimal | ||
FROM redhat/ubi9-minimal | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV PXB_VERSION 2.4.29-1 | ||
ENV PXC_VERSION 5.7.44-31.65.2 | ||
ENV PXC_REPO release | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_XTRABACKUP_VERSION "$PXB_VERSION.$OS_VER" | ||
ENV FULL_PERCONA_XTRADBCLUSTER_VERSION "$PXC_VERSION.$OS_VER" | ||
ENV PXC_TELEMETRY_VERSION 5.7.44-31.65-2 | ||
|
@@ -23,22 +23,21 @@ ENV PXC_TELEMETRY_VERSION 5.7.44-31.65-2 | |
# remove telemetry config file after installing packages! | ||
ARG PERCONA_TELEMETRY_DISABLE=1 | ||
|
||
COPY Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-devel-57-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-57-debuginfo-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-server-57-debuginfo-${PXC_VERSION}.el8.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-devel-57-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-57-debuginfo-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
COPY Percona-XtraDB-Cluster-server-57-debuginfo-${PXC_VERSION}.el9.x86_64.rpm /tmp | ||
|
||
# check repository package signature in secure way | ||
RUN set -ex; \ | ||
export GNUPGHOME="$(mktemp -d)"; \ | ||
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 76FD3DB13AB67410B89DB10E82562EA9AD986DA3; \ | ||
gpg --batch --export --armor 4D1BB29D63D98E422B2113B19334A25F8507EFA5 > ${GNUPGHOME}/PERCONA-PACKAGING-KEY; \ | ||
gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8; \ | ||
gpg --batch --export --armor 76FD3DB13AB67410B89DB10E82562EA9AD986DA3 > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
microdnf install -y findutils; \ | ||
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; \ | ||
rpmkeys --checksig /tmp/percona-release.rpm; \ | ||
|
@@ -49,24 +48,24 @@ RUN set -ex; \ | |
percona-release enable pxc-57 ${PXC_REPO} | ||
|
||
RUN set -ex; \ | ||
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://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/socat-1.7.4.1-1.el8.x86_64.rpm; \ | ||
curl -O https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9; \ | ||
rpm --import RPM-GPG-KEY-EPEL-9; \ | ||
curl -Lf -o /tmp/numactl-libs.rpm https://downloads.percona.com/downloads/packaging/numactl-libs-2.0.18-2.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/libev.rpm https://downloads.percona.com/downloads/packaging/libev-4.33-5.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/jq.rpm https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/jq-1.6-14.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/oniguruma.rpm https://downloads.percona.com/downloads/packaging/oniguruma-6.9.6-1.el9.6.x86_64.rpm; \ | ||
curl -Lf -o /tmp/pv.rpm http://download.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/p/pv-1.6.20-1.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/socat.rpm https://downloads.percona.com/downloads/packaging/socat-1.7.4.1-6.el9.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 | ||
|
||
RUN set -ex; \ | ||
rpm -e --nodeps tzdata; \ | ||
microdnf --setopt=install_weak_deps=0 --best install -y \ | ||
jemalloc \ | ||
openssl \ | ||
shadow-utils \ | ||
hostname \ | ||
curl \ | ||
tzdata \ | ||
diffutils \ | ||
libaio \ | ||
|
@@ -80,7 +79,6 @@ RUN set -ex; \ | |
tar; \ | ||
microdnf update \ | ||
curl \ | ||
glibc \ | ||
libnghttp2 \ | ||
python3; \ | ||
microdnf clean all; \ | ||
|
@@ -94,16 +92,16 @@ 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://vault.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 https://downloads.percona.com/downloads/packaging/nss-pam-ldapd-0.9.10-13.el9.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; \ | ||
curl -Lf -o /tmp/percona-xtrabackup-24.rpm https://repo.percona.com/pxb-24/yum/${PXC_REPO}/8/RPMS/x86_64/percona-xtrabackup-24-${FULL_PERCONA_XTRABACKUP_VERSION}.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/percona-xtrabackup-24.rpm /tmp/Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el8.x86_64.rpm /tmp/Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el8.x86_64.rpm /tmp/Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el8.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtrabackup-24.rpm https://repo.percona.com/pxb-24/yum/${PXC_REPO}/9/RPMS/x86_64/percona-xtrabackup-24-${FULL_PERCONA_XTRABACKUP_VERSION}.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/percona-xtrabackup-24.rpm /tmp/Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el9.x86_64.rpm /tmp/Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el9.x86_64.rpm /tmp/Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el9.x86_64.rpm; \ | ||
rpm -iv /tmp/percona-xtrabackup-24.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el8.x86_64.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el8.x86_64.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el8.x86_64.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-shared-57-${PXC_VERSION}.el9.x86_64.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-client-57-${PXC_VERSION}.el9.x86_64.rpm --nodeps; \ | ||
rpm -iv /tmp/Percona-XtraDB-Cluster-server-57-${PXC_VERSION}.el9.x86_64.rpm --nodeps; \ | ||
microdnf clean all; \ | ||
rm -rf /tmp/percona-xtrabackup-24.rpm /tmp/percona-xtradb-cluster-server.rpm /tmp/percona-xtradb-cluster-shared.rpm /tmp/percona-xtradb-cluster-client.rpm; \ | ||
rm -rf /usr/bin/mysqltest /usr/bin/perror /usr/bin/replace /usr/bin/resolve_stack_dump /usr/bin/resolveip; \ | ||
|
@@ -138,11 +136,11 @@ RUN if [[ -n $DEBUG ]] ; then \ | |
net-tools \ | ||
nc \ | ||
gdb; \ | ||
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/percona-xtradb-cluster-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/8/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/telnet.rpm http://vault.centos.org/centos/9/AppStream/x86_64/os/Packages/telnet-0.17-76.el9.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/percona-xtradb-cluster-server-debuginfo.rpm https://repo.percona.com/pxc-57/yum/${PXC_REPO}/9/RPMS/x86_64/Percona-XtraDB-Cluster-server-57-debuginfo-${FULL_PERCONA_XTRADBCLUSTER_VERSION}.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/telnet.rpm /tmp/percona-xtradb-cluster-debuginfo.rpm /tmp/percona-xtradb-cluster-server-debuginfo.rpm; \ | ||
rpm -i /tmp/telnet.rpm /tmp/Percona-XtraDB-Cluster-57-debuginfo-${PXC_VERSION}.el8.x86_64.rpm /tmp/Percona-XtraDB-Cluster-server-57-debuginfo-${PXC_VERSION}.el8.x86_64.rpm --nodeps; \ | ||
rpm -i /tmp/telnet.rpm /tmp/Percona-XtraDB-Cluster-57-debuginfo-${PXC_VERSION}.el9.x86_64.rpm /tmp/Percona-XtraDB-Cluster-server-57-debuginfo-${PXC_VERSION}.el9.x86_64.rpm --nodeps; \ | ||
rm -rf /tmp/*.rpm; \ | ||
microdnf clean all; \ | ||
rm -rf /var/cache/dnf /var/cache/yum; \ | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any reason to install socat from Percona repo? As In can see UBI9 has the same version
socat;1.7.4.1-6.el9;x86_64;ubi-9-appstream-rpms
the same aboutoniguruma
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hors Thanks for pointing this out. Fixed the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hors Can you please check now?