microsoft / microsoft/Oryx

Allow disablement of platform detection when the platform and version details are provided explictly

Open
#2,917 1 comment 1 reaction 2 assignees View on GitHub

@sarsharma is already working on this.

Since May 5, 2026.

Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

Description

Today oryx runs the detector for each supported platform regardless of whether we have passed --platform and --platform-version values during build.
For most scenarios, we might want to disable running of all detectors and just rely on user provided values to do the env setup and build. Running of all detectors results in fetching/installing of all detected platforms even if they are not required for the build.
Oryx already has config flags which allow disablement of select platforms(eg. DISABLE_NODEJS_BUILD). It might be nice to have another config like DISABLE_PLATFORM_DETECTION to skip the detection cycle completely.
The oryx prep command also has a --skip-detection flag but there is no such equivalent for oryx build command.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.