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 6d3d98b commit c4618efCopy full SHA for c4618ef
build.py
@@ -1662,8 +1662,14 @@ def create_build_dockerfiles(
1662
):
1663
if "base" in images:
1664
base_image = images["base"]
1665
+ if target_platform() == "rhel":
1666
+ print(
1667
+ "warning: RHEL is not an officially supported target and you will probably experience errors attempting to build this container."
1668
+ )
1669
elif target_platform() == "windows":
1670
base_image = "mcr.microsoft.com/dotnet/framework/sdk:4.8"
1671
+ elif target_platform() == "rhel":
1672
+ raise KeyError("A base image must be specified when targeting RHEL")
1673
elif FLAGS.enable_gpu:
1674
base_image = "nvcr.io/nvidia/tritonserver:{}-py3-min".format(
1675
FLAGS.upstream_container_version
0 commit comments