We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a011d commit bb4abc8Copy full SHA for bb4abc8
eng/common/native/init-distro-rid.sh
@@ -20,7 +20,7 @@ getNonPortableDistroRid()
20
# shellcheck disable=SC1091
21
if [ -e "${rootfsDir}/etc/os-release" ]; then
22
. "${rootfsDir}/etc/os-release"
23
- if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ] || [ "${ID}" = "alpine" ]; then
+ if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ] || [ "${ID}" = "alpine" ] || [ "${ID}" = "ol" ]; then
24
VERSION_ID="${VERSION_ID%.*}" # Remove the last version digit for these distros
25
fi
26
0 commit comments