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 4ef346c commit db6b3a3Copy full SHA for db6b3a3
build.py
@@ -1643,8 +1643,14 @@ def create_build_dockerfiles(
1643
):
1644
if "base" in images:
1645
base_image = images["base"]
1646
+ if target_platform() == "rhel":
1647
+ print(
1648
+ "warning: RHEL is not an officially supported target and you will probably experience errors attempting to build this container."
1649
+ )
1650
elif target_platform() == "windows":
1651
base_image = "mcr.microsoft.com/dotnet/framework/sdk:4.8"
1652
+ elif target_platform() == "rhel":
1653
+ raise KeyError("A base image must be specified when targeting RHEL")
1654
elif FLAGS.enable_gpu:
1655
base_image = "nvcr.io/nvidia/tritonserver:{}-py3-min".format(
1656
FLAGS.upstream_container_version
0 commit comments