mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-02 07:01:30 +00:00
perf: use host network
This commit is contained in:
@@ -26,6 +26,7 @@ def docker_isolation_kwargs():
|
||||
'process_isolation': True,
|
||||
'process_isolation_executable': 'docker',
|
||||
'container_image': ANSIBLE_EE_IMAGE,
|
||||
'container_options': ['--network=host'],
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user