Skip to content

Commit 2352446

Browse files
authored
Revert fix for missing net-snmp packages in ubi8 (#659)
# Summary Reverted missing package from #653 It has been fixed in https://issues.redhat.com/browse/RHEL-136705 ## Proof of Work Tests passing.
1 parent 13cf357 commit 2352446

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docker/mongodb-kubernetes-database/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,15 @@ RUN microdnf install -y --disableplugin=subscription-manager \
2424
krb5-libs \
2525
libcurl \
2626
lm_sensors-libs \
27-
net-snmp-libs \
27+
net-snmp \
28+
net-snmp-agent-libs \
2829
openldap \
2930
openssl \
3031
jq \
3132
tar \
3233
xz-libs \
3334
findutils
3435

35-
# Workaround for UBI8 repo version mismatch: net-snmp requires net-snmp-libs=5.8-31
36-
# but only 5.8-32 is available. Install with --nodeps since they are ABI compatible.
37-
RUN microdnf download net-snmp net-snmp-agent-libs && \
38-
rpm -ivh --nodeps net-snmp-*.rpm && \
39-
rm -f net-snmp-*.rpm
40-
4136
RUN ln -s /usr/lib64/libsasl2.so.3 /usr/lib64/libsasl2.so.2
4237

4338
# Set the required perms

0 commit comments

Comments
 (0)