mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-10-14 02:19:17 +08:00
Use c-ares library as DNS resolver
This commit is contained in:
@@ -70,10 +70,11 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm -o /tmp/epel-release-latest-10.noarch.rpm && \
|
||||
rpm -ivh /tmp/epel-release-latest-10.noarch.rpm && \
|
||||
rm -rf /tmp/epel-release-latest-10.noarch.rpm && \
|
||||
ARCH_SUFFIX="$(arch)"; \
|
||||
microdnf -y install \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "ubi-10-baseos-rpms" \
|
||||
--enablerepo "rhel-10-for-$ARCH_SUFFIX-baseos-rpms" \
|
||||
--enablerepo "epel" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
|
Reference in New Issue
Block a user