GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add new linux-64 build using Rocky Linux by adityapatwardhan · Pull Request #109 · PowerShell/PowerShell-Native

Conversation

@adityapatwardhan

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) commented Feb 2, 2026

Copy link
Copy Markdown
Member

PR Summary

This pull request adds support for building and packaging native binaries for Rocky Linux alongside existing Linux distributions. The changes include updates to pipeline templates, build scripts, and the addition of a Dockerfile for Rocky Linux. The overall goal is to enable Rocky Linux as a supported target in the CI/CD process, ensuring its artifacts are built and included in the final NuGet package.

Pipeline and Build System Updates:

  • Added a new LinuxRockyBuild stage to .pipelines/release.yml, using the new build-docker.yml template to build for Rocky Linux, and updated the NuGet packaging stage to depend on this new build. [1] [2]
  • Renamed and generalized the pipeline template from build-alpine.yml to build-docker.yml, adding parameters for container image, platform, and stage name to support multiple Linux distributions, including Rocky Linux.
  • Updated artifact naming, output paths, and build steps in the new build-docker.yml to be parameterized by platform, supporting both Alpine and Rocky Linux builds. [1] [2] [3]

NuGet Packaging Adjustments:

  • Modified the NuGet packaging pipeline to include Rocky Linux artifacts instead of the generic Linux x64, ensuring the Rocky Linux build output is packaged. [1] [2] [3]

Build Script Enhancements:

  • Updated build.psm1 to detect Rocky Linux (IsRocky8), treat it as part of the RedHat family, and use the appropriate package manager (dnf) for installing dependencies. [1] [2]
  • Improved bootstrapping by ensuring the git repository is initialized before updating submodules, and added required build dependencies for RedHat-family distributions. [1] [2]
  • Added a minimum CMake policy version in the native Unix build process for better compatibility and debugging.
  • Commented out the installation of Ruby gems (fpm and ronn) as they are no longer needed.

Docker Support for Rocky Linux:

  • Added a new docker/rocky/Dockerfile to build native binaries for Rocky Linux using the appropriate base image and toolchain.

PR Context

Fixes PowerShell/PowerShell#26704

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Aditya Patwardhan (adityapatwardhan) added 2 commits February 2, 2026 12:53
@adityapatwardhan
Add new linux-64 build using Rocky Linux
e8bb21b
@adityapatwardhan
Remove dead code
78bf05a
@daxian-dbw

Dongbo Wang (daxian-dbw) commented Feb 2, 2026

Copy link
Copy Markdown
Member

Copilot please review this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

daxian-dbw
Dongbo Wang (daxian-dbw) approved these changes Feb 2, 2026
View reviewed changes
@adityapatwardhan

Aditya Patwardhan (adityapatwardhan) commented Feb 2, 2026

Copy link
Copy Markdown
Member Author

/azp run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@azure-pipelines

azure-pipelines Bot commented Feb 2, 2026

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TravisEz13
Travis Plunk (TravisEz13) approved these changes Feb 3, 2026
View reviewed changes
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit f75fa73 into master Feb 3, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) deleted the RockyBuild branch February 3, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@daxian-dbw Dongbo Wang (daxian-dbw) daxian-dbw approved these changes
@TravisEz13 Travis Plunk (TravisEz13) TravisEz13 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

PowerShell 7.6.0-preview.6 requires glibc 2.33 which is not present in RHEL 8

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@adityapatwardhan @daxian-dbw @TravisEz13
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.