diff --git a/Dockerfiles/agent2/rhel/Dockerfile b/Dockerfiles/agent2/rhel/Dockerfile index 97036f893..4a07e107a 100644 --- a/Dockerfiles/agent2/rhel/Dockerfile +++ b/Dockerfiles/agent2/rhel/Dockerfile @@ -56,7 +56,6 @@ COPY --from=builder ["/tmp/mongodb_plugin/zabbix-agent2-plugin-mongodb", "/usr/s COPY --from=builder ["/tmp/postgresql_plugin/zabbix-agent2-plugin-postgresql", "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql"] RUN --mount=type=tmpfs,target=/var/lib/dnf/ \ - --mount=type=bind,target=/run/secrets/,src=secrets/ \ set -eux && \ INSTALL_PKGS="bash \ iputils \ @@ -69,7 +68,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \ --disableplugin=subscription-manager \ --disablerepo "*" \ --enablerepo "ubi-9-baseos-rpms" \ - --enablerepo "epel" \ --setopt=install_weak_deps=0 \ --setopt=keepcache=0 \ --best \ diff --git a/Dockerfiles/build-base/rhel/secrets.tar.gz b/Dockerfiles/build-base/rhel/secrets.tar.gz deleted file mode 100644 index e2f119b80..000000000 Binary files a/Dockerfiles/build-base/rhel/secrets.tar.gz and /dev/null differ