Skip to content

Commit fce0263

Browse files
committed
Removed unnecessary deps while building database image
1 parent b6d2717 commit fce0263

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/mongodb-kubernetes-database/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ RUN microdnf install -y --disableplugin=subscription-manager \
1717

1818
# these are the packages needed for MongoDB
1919
# (https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat-tarball/ "RHEL/CentOS 8" tab)
20-
RUN microdnf install -y --disableplugin=subscription-manager \
20+
# Note: net-snmp and net-snmp-agent-libs temporarily removed due to UBI8 repo issue
21+
# where net-snmp-libs dependency is not available (RHEL sync issue)
22+
RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_weak_deps=0 \
2123
cyrus-sasl \
2224
cyrus-sasl-gssapi \
2325
cyrus-sasl-plain \
2426
krb5-libs \
2527
libcurl \
2628
lm_sensors-libs \
27-
net-snmp \
28-
net-snmp-agent-libs \
2929
openldap \
3030
openssl \
3131
jq \

0 commit comments

Comments
 (0)