第 4 章 Building off of existing base EEs provided by Red Hat Ansible Automation Platform
4.1. Gathering system-level dependencies 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The bindep
format provides a way of specifying cross-platform requirements. A minimum expectation is that the collection(s) specify necessary requirements for [platform:rpm]
.
Below is an example of content from a valid bindep.txt
file:
例 4.1. A bindep.txt
file
python38-devel [platform:rpm compile] subversion [platform:rpm] git-lfs [platform:rpm]
python38-devel [platform:rpm compile]
subversion [platform:rpm]
git-lfs [platform:rpm]
Entries from multiple collections will be combined into a single file. This will be processed by bindep
and then passed to dnf
. Only requirements with no profiles or no runtime requirements will be installed to the image.