Skip to content

Commit ccf3c9d

Browse files
committed
Use pre-build ubi9-micro image
1 parent ebcfcdd commit ccf3c9d

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

docker/mongodb-agent/Dockerfile

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,7 @@ RUN tar xfz /agent/mongodb_agent.tgz \
5454
&& rm /agent/mongodb_agent.tgz \
5555
&& rm -r mongodb-mms-automation-agent-*
5656

57-
FROM registry.access.redhat.com/ubi9/ubi-micro
58-
59-
# Replace libcurl-minimal and curl-minimal with the full versions
60-
# https://bugzilla.redhat.com/show_bug.cgi?id=1994521
61-
RUN microdnf install -y libssh libpsl libbrotli \
62-
&& microdnf download curl libcurl \
63-
&& rpm -Uvh --nodeps --replacefiles "*curl*$( uname -i ).rpm" \
64-
&& microdnf remove -y libcurl-minimal curl-minimal
65-
66-
RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_weak_deps=0 nss_wrapper
67-
# Copy-pasted from https://www.mongodb.com/docs/manual/tutorial/install-mongodb-enterprise-on-red-hat-tarball/
68-
RUN microdnf install -y --disableplugin=subscription-manager \
69-
cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs openldap openssl xz-libs
70-
# Dependencies for the Agent
71-
RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_weak_deps=0 \
72-
net-snmp \
73-
net-snmp-agent-libs
74-
RUN microdnf install -y --disableplugin=subscription-manager \
75-
hostname tar gzip procps jq \
76-
&& microdnf upgrade -y \
77-
&& rm -rf /var/lib/apt/lists/*
57+
FROM quay.io/mircea_cosbuc/ubi-micro-agent-base
7858

7959
RUN mkdir -p /agent \
8060
&& mkdir -p /var/lib/mongodb-mms-automation \

scripts/dev/contexts/root-context

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export e2e_cloud_qa_baseurl_static_2="${OM_HOST}"
120120
export OLM_VERSION=v0.31.0
121121

122122
# Python version we use locally and in CI
123-
export PYTHON_VERSION=3.13.7
123+
export PYTHON_VERSION=3.13.9
124124

125125
## MCO
126126
export MDB_COMMUNITY_IMAGE=mongodb-community-server

0 commit comments

Comments
 (0)