Skip to content
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

ENG-7: psmdb 4.4, 5.0, 6.0, change image baseOS OL8 -> OL9 #825

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions percona-server-mongodb-4.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oraclelinux:8
FROM oraclelinux:9

LABEL org.opencontainers.image.authors="info@percona.com"

Expand All @@ -17,14 +17,13 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

ENV PSMDB_VERSION 4.4.22-21
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

RUN set -ex; \
percona-release enable psmdb-44 ${PSMDB_REPO}; \
dnf config-manager --enable ol8_u4_security_validation; \
dnf -y install \
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \
percona-server-mongodb-shell-${FULL_PERCONA_VERSION} \
Expand All @@ -36,7 +35,7 @@ RUN set -ex; \
cyrus-sasl-gssapi \
policycoreutils; \
\
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-44/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-44/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.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; \
Expand Down
7 changes: 3 additions & 4 deletions percona-server-mongodb-5.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oraclelinux:8
FROM oraclelinux:9

LABEL org.opencontainers.image.authors="info@percona.com"

Expand All @@ -17,14 +17,13 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

ENV PSMDB_VERSION 5.0.18-15
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

RUN set -ex; \
percona-release enable psmdb-50 ${PSMDB_REPO}; \
dnf config-manager --enable ol8_u4_security_validation; \
dnf -y install \
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \
percona-server-mongodb-shell-${FULL_PERCONA_VERSION} \
Expand All @@ -36,7 +35,7 @@ RUN set -ex; \
cyrus-sasl-gssapi \
policycoreutils; \
\
curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-50/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-50/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.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; \
Expand Down
7 changes: 3 additions & 4 deletions percona-server-mongodb-6.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oraclelinux:8
FROM oraclelinux:9

LABEL org.opencontainers.image.authors="info@percona.com"

Expand All @@ -17,14 +17,13 @@ RUN set -ex; \
rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY

ENV PSMDB_VERSION 6.0.6-5
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

RUN set -ex; \
percona-release enable psmdb-60 ${PSMDB_REPO}; \
dnf config-manager --enable ol8_u4_security_validation; \
dnf -y install \
percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} \
percona-server-mongodb-tools-${FULL_PERCONA_VERSION} \
Expand All @@ -36,7 +35,7 @@ RUN set -ex; \
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; \
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; \
Expand Down
Loading