Build jsonnet with musl static binary
Open
enhancement
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
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 https://github.com/anguslees/rust-jsonnet/issues/40).
I updated the [Dockerfile:L10](https://github.com/google/jsonnet/blob/master/Dockerfile#L10) with adding `CC="musl-gcc -static"`
```Dockerfile
...
RUN cd jsonnet && \
CC="musl-gcc -static" && make
...
```
The build pass :heavy_check_mark: .
Is it enough to guarantee that `jsonnet` build with `musl`?
Contributor guide
Assessment
This issue has not been assessed yet.