Skip to content

setup-uv incompatible with alpine #278

Closed
@yhu02

Description

@yhu02

Hi I'm trying to use this action in an alpine distro but I get the following error when trying to use the command after installing it.

__res_init: symbol not found

Image Image

I've tried replicating it in my local environment and these are my findings.
Doing curl -LsSf https://astral.sh/uv/install.sh | sh works fine and shows the following

Image

However, replicating the behaviour of the setup-uv action i.e. downloading directly from https://github.com/astral-sh/uv/releases/download/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz gives me the following

Image

But, it seems that it is resolving to the wrong binary, i need the other one https://github.com/astral-sh/uv/releases/download/${UV_VERSION}/uv-x86_64-unknown-linux-musl.tar.gz

Image Image

It seems like it always resolves to the gnu variant

linux: "unknown-linux-gnu",

Is it possible to enter an input parameter platform for the action?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions