Add prebuilt linux musl binaries to support Alpine linux

Open
#852 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, linux, nodejs, typescript

Research direction

Start with the build pipeline on the Ubuntu 22.04 runner and review issues #851 and #46, then assess using an Alpine Docker container to produce musl binaries. Review the proposed detect-libc integration. Done means musl prebuilt binaries are published and selected correctly for musl-based platforms.

Written by the indexing model from the issue text.

Description

feature-request

Related to https://github.com/microsoft/node-pty/issues/851 it would be helpful to prebuilt binaries for platforms using musl instead of glibc.

detect-libc can be used as a popular package with minimal dependencies to determine the correct platform.

Since the build pipeline is required to be run on ubuntu 22.04 and no alpine runners are available perhaps the musl binaries could be built in an alpine docker container on the ubuntu runner.

cc:

Dominant language
TypeScript
Stars
2k
Forks
337
Avg merge
21h 58m
Merged PRs (30d)
3

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.

More from microsoft/node-pty

All issues in microsoft/node-pty

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.