Determine the Linux Distribution from a base image
Source:R/utils.R
determine_linux_distribution.Rd
Analyzes a Docker base image name to determine the underlying distribution
Details
This function parses the base image name to extract the underlying distribution. For Rocker Project images (which are based on Ubuntu/Debian), it returns "ubuntu". For other distributions, it attempts to identify common ones like Debian, CentOS, Fedora, Alpine, etc.
See also
determine_package_manager()
for determining the package manager &
map_to_sysreqs_platform()
for mapping to sysreqs platform
Other utility functions:
determine_package_manager()
,
dk_add_sysreqs()
,
map_to_sysreqs_platform()