Static library build of GNU termcap (v1.3.2) compiled with C23 support.
-std=gnu23)docker run --rm -v $(pwd):/output sctg/libtermcap:musl \
cp /usr/local/lib/libtermcap.a /output/
RUSTFLAGS="-C target-feature=+crt-static -L $(pwd)" \
cargo build --target aarch64-unknown-linux-musl
sctg/libtermcap:musl - Latest musl buildsctg/libtermcap:musl-1.3.2 - Version specificsctg/libtermcap:1.3.2 - Alias for musl-1.3.2sctg/libtermcap:latest - Latest build/usr/local/lib/libtermcap.a - Static library/usr/local/include/termcap.h - Header fileBuild the static termcap library in Alpine Linux:
docker build -t termcap:latest .
Extract the compiled static library from the image:
docker run --rm -v $(pwd):/output termcap:latest \
cp /usr/local/lib/libtermcap.a /output/
The library is compiled with:
-std=gnu23 - C23 standard with GNU extensions-static - Static linking-O2 - Optimization level 2Content type
Image
Digest
sha256:f0eab7071…
Size
3.7 MB
Last updated
9 months ago
docker pull sctg/libtermcap