-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PKG-285] + [PKG-287] + [PKG-290]: UBI 9 base images for PS MongoDB. (#…
- Loading branch information
Showing
17 changed files
with
238 additions
and
187 deletions.
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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
FROM oraclelinux:8 | ||
FROM redhat/ubi9-minimal | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
# 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; \ | ||
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F; \ | ||
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; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
gpg --batch --export --armor 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; \ | ||
rpmkeys --checksig /tmp/percona-release.rpm; \ | ||
microdnf install -y findutils; \ | ||
rpm -i /tmp/percona-release.rpm; \ | ||
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; \ | ||
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY | ||
|
||
ENV PSMDB_VERSION 6.0.19-16 | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_VERSION "$PSMDB_VERSION.$OS_VER" | ||
ENV K8S_TOOLS_VERSION "0.5.0" | ||
ENV PSMDB_REPO release | ||
|
@@ -28,28 +30,31 @@ ARG PERCONA_TELEMETRY_DISABLE=1 | |
RUN set -ex; \ | ||
percona-release enable psmdb-60 ${PSMDB_REPO}; \ | ||
percona-release enable telemetry ${PSMDB_REPO}; \ | ||
dnf config-manager --enable ol8_u4_security_validation; \ | ||
dnf -y update openssh; \ | ||
dnf -y update bind-export-libs; \ | ||
dnf -y update glibc; \ | ||
dnf -y update libgcrypt; \ | ||
dnf -y install \ | ||
#microdnf config-manager --enable ol8_u4_security_validation; \ | ||
microdnf -y update openssh; \ | ||
#miicrodnf -y update bind-export-libs; \ | ||
#microdnf -y update glibc; \ | ||
microdnf -y update libgcrypt; \ | ||
microdnf -y install \ | ||
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \ | ||
percona-server-mongodb-tools-${FULL_PERCONA_VERSION} \ | ||
percona-mongodb-mongosh \ | ||
numactl \ | ||
numactl-libs \ | ||
procps-ng \ | ||
jq \ | ||
tar \ | ||
oniguruma \ | ||
cyrus-sasl-gssapi \ | ||
policycoreutils; \ | ||
\ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/8/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/numactl.rpm https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/numactl-2.0.16-1.el9.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/numactl.rpm; \ | ||
rpmkeys --checksig /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
rpm -iv /tmp/Percona-Server-MongoDB-server.rpm --nodeps; \ | ||
rm -rf /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
dnf clean all; \ | ||
rpm -i /tmp/numactl.rpm; \ | ||
rm -rf /tmp/numactl.rpm /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
microdnf clean all; \ | ||
rm -rf /var/cache/dnf /var/cache/yum /data/db && mkdir -p /data/db; \ | ||
chown -R 1001:0 /data/db | ||
|
||
|
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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# This Dockerfile should be used for docker official repo | ||
FROM oraclelinux:8 | ||
FROM redhat/ubi9-minimal | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
# 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; \ | ||
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F; \ | ||
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; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
gpg --batch --export --armor 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; \ | ||
rpmkeys --checksig /tmp/percona-release.rpm; \ | ||
microdnf install -y findutils; \ | ||
rpm -i /tmp/percona-release.rpm; \ | ||
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; \ | ||
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY | ||
|
||
ENV PSMDB_VERSION 6.0.19-16 | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_VERSION "$PSMDB_VERSION.$OS_VER" | ||
ENV K8S_TOOLS_VERSION "0.5.0" | ||
ENV PSMDB_REPO release | ||
|
@@ -30,28 +32,31 @@ ARG PERCONA_TELEMETRY_DISABLE=1 | |
|
||
RUN set -ex; \ | ||
percona-release enable psmdb-60 ${PSMDB_REPO}; \ | ||
dnf config-manager --enable ol8_u4_security_validation; \ | ||
dnf -y update openssh; \ | ||
dnf -y update bind-export-libs; \ | ||
dnf -y update glibc; \ | ||
dnf -y update libgcrypt; \ | ||
dnf -y install \ | ||
#microdnf config-manager --enable ol8_u4_security_validation; \ | ||
microdnf -y update openssh; \ | ||
#microdnf -y update bind-export-libs; \ | ||
#microdnf -y update glibc; \ | ||
microdnf -y update libgcrypt; \ | ||
microdnf -y install \ | ||
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \ | ||
percona-server-mongodb-tools-${FULL_PERCONA_VERSION} \ | ||
percona-mongodb-mongosh \ | ||
numactl \ | ||
numactl-libs \ | ||
procps-ng \ | ||
jq \ | ||
tar \ | ||
oniguruma \ | ||
cyrus-sasl-gssapi \ | ||
policycoreutils; \ | ||
\ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/8/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/numactl.rpm https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/numactl-2.0.16-1.el9.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/numactl.rpm; \ | ||
rpmkeys --checksig /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
rpm -iv /tmp/Percona-Server-MongoDB-server.rpm --nodeps; \ | ||
rm -rf /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
dnf clean all; \ | ||
rpm -i /tmp/numactl.rpm; \ | ||
rm -rf /tmp/numactl.rpm /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
microdnf clean all; \ | ||
rm -rf /var/cache/dnf /var/cache/yum /data/db && mkdir -p /data/db; \ | ||
chown -R 1001:0 /data/db | ||
|
||
|
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 |
---|---|---|
@@ -1,26 +1,28 @@ | ||
FROM oraclelinux:8 | ||
FROM redhat/ubi9-minimal | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
# 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; \ | ||
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F; \ | ||
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; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-8; \ | ||
gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; \ | ||
gpg --batch --export --armor 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; \ | ||
rpmkeys --checksig /tmp/percona-release.rpm; \ | ||
microdnf install -y findutils; \ | ||
rpm -i /tmp/percona-release.rpm; \ | ||
rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; \ | ||
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY | ||
|
||
ENV PSMDB_VERSION 6.0.19-16 | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_VERSION "$PSMDB_VERSION.$OS_VER" | ||
ENV K8S_TOOLS_VERSION "0.5.0" | ||
ENV PSMDB_REPO experimental | ||
ENV PSMDB_REPO testing | ||
|
||
# Do not report during Docker image creation. | ||
ARG PERCONA_TELEMETRY_DISABLE=1 | ||
|
@@ -29,16 +31,16 @@ RUN set -ex; \ | |
sed -i "s|x86_64|x86_64 aarch64|" /usr/bin/percona-release; \ | ||
percona-release enable psmdb-60 ${PSMDB_REPO}; \ | ||
percona-release enable telemetry ${PSMDB_REPO}; \ | ||
dnf config-manager --enable ol8_u4_security_validation; \ | ||
dnf -y update openssh; \ | ||
dnf -y update bind-export-libs; \ | ||
dnf -y update glibc; \ | ||
dnf -y update libgcrypt; \ | ||
dnf -y install \ | ||
#microdnf config-manager --enable ol8_u4_security_validation; \ | ||
microdnf -y update openssh; \ | ||
#microdnf -y update bind-export-libs; \ | ||
#microdnf -y update glibc; \ | ||
microdnf -y update libgcrypt; \ | ||
microdnf -y install \ | ||
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \ | ||
percona-server-mongodb-tools-${FULL_PERCONA_VERSION} \ | ||
percona-mongodb-mongosh \ | ||
numactl \ | ||
numactl-libs \ | ||
procps-ng \ | ||
jq \ | ||
tar \ | ||
|
@@ -47,11 +49,14 @@ RUN set -ex; \ | |
policycoreutils; \ | ||
\ | ||
ARCH="$(uname -m)"; \ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/8/RPMS/${ARCH}/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.${ARCH}.rpm; \ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/9/RPMS/${ARCH}/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.${ARCH}.rpm; \ | ||
curl -Lf -o /tmp/numactl.rpm https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/${ARCH}/getPackage/numactl-2.0.18-2.${OS_VER}.${ARCH}.rpm; \ | ||
rpmkeys --checksig /tmp/numactl.rpm; \ | ||
rpmkeys --checksig /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
rpm -iv /tmp/Percona-Server-MongoDB-server.rpm --nodeps; \ | ||
rm -rf /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
dnf clean all; \ | ||
rpm -i /tmp/numactl.rpm; \ | ||
rm -rf /tmp/numactl.rpm /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
microdnf clean all; \ | ||
rm -rf /var/cache/dnf /var/cache/yum /data/db && mkdir -p /data/db; \ | ||
chown -R 1001:0 /data/db | ||
|
||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM redhat/ubi8-minimal | ||
FROM redhat/ubi9-minimal | ||
|
||
# Please don't remove old-style LABEL since it's needed for RedHat certification | ||
LABEL name="Percona Server for MongoDB" \ | ||
|
@@ -19,7 +19,7 @@ LABEL org.opencontainers.image.license="SSPLv1" | |
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV PSMDB_VERSION 6.0.19-16 | ||
ENV OS_VER el8 | ||
ENV OS_VER el9 | ||
ENV FULL_PERCONA_VERSION "$PSMDB_VERSION.$OS_VER" | ||
ENV K8S_TOOLS_VERSION "0.5.0" | ||
ENV PSMDB_REPO release | ||
|
@@ -32,12 +32,12 @@ ARG PERCONA_TELEMETRY_DISABLE=1 | |
# 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 --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F; \ | ||
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; \ | ||
gpg --batch --export --armor 3E6D826D3FBAB389C2F38E34BC4D06A08D8B756F > ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9 ${GNUPGHOME}/RPM-GPG-KEY-oracle; \ | ||
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; \ | ||
|
@@ -46,29 +46,22 @@ RUN set -ex; \ | |
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY; \ | ||
percona-release enable psmdb-60 ${PSMDB_REPO} | ||
|
||
RUN set -ex; \ | ||
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 | ||
|
||
RUN set -ex; \ | ||
microdnf install -y \ | ||
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \ | ||
percona-server-mongodb-tools-${FULL_PERCONA_VERSION} \ | ||
percona-mongodb-mongosh \ | ||
numactl-libs \ | ||
shadow-utils \ | ||
curl \ | ||
tar \ | ||
jq \ | ||
oniguruma \ | ||
procps-ng \ | ||
cyrus-sasl-gssapi \ | ||
policycoreutils; \ | ||
\ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/8/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/numactl.rpm https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/numactl-2.0.12-11.el8.x86_64.rpm; \ | ||
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-60/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; \ | ||
curl -Lf -o /tmp/numactl.rpm https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/numactl-2.0.16-1.el9.x86_64.rpm; \ | ||
rpmkeys --checksig /tmp/numactl.rpm /tmp/Percona-Server-MongoDB-server.rpm; \ | ||
rpm -iv /tmp/Percona-Server-MongoDB-server.rpm --nodeps; \ | ||
rpm -i /tmp/numactl.rpm; \ | ||
|
Oops, something went wrong.