Skip to content

Build jsonnet with musl static binary #908

Open
@vincent-herlemont

Description

@vincent-herlemont

Is there a way to build jsonnet with musl?

I am a novice in C++ development and I try to build jsonnet with musl in order to create a static binary (here the root issue anguslees/rust-jsonnet#40).

I updated the Dockerfile:L10 with adding CC="musl-gcc -static"

...
RUN cd jsonnet && \
    CC="musl-gcc -static" && make
...

The build pass ✔️ .

Is it enough to guarantee that jsonnet build with musl?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions