perf: use host network

This commit is contained in:
wangruidong
2026-06-04 15:21:19 +08:00
committed by 老广
parent a4ac6b72fc
commit d1e96a056c
2 changed files with 1 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ def docker_isolation_kwargs():
'process_isolation': True,
'process_isolation_executable': 'docker',
'container_image': ANSIBLE_EE_IMAGE,
'container_options': ['--network=host'],
}

View File

@@ -62,4 +62,3 @@ additional_build_steps:
- ENV LANG=C.UTF-8
# bindep [compile] 已避免工具链进入最终层;此处仅清理 PKGMGR_PRESERVE_CACHE 写入的 dnf 缓存
- RUN $PKGMGR clean all && rm -rf /var/cache/dnf /var/cache/yum /root/.cache
- RUN pip cache purge