stagex/zlib

Sponsored OSS

By stagex

Updated 4 months ago

A compression/decompression Library

Image
Languages & Frameworks
Operating Systems
0

50K+

[Stageˣ]

git://codeberg.org:stagex/stagex | matrix://#stagex:matrix.org | ircs://irc.oftc.net:6697#stagex


Usage

You can do anything with these images you would with most any other musl based containerized linux distro, only with high supply chain integrity and determinism.

Unlike a traditional Linux distro, [Stageˣ] is OCI native and uses OCI images for packaging and is optimized for determinism first. This means instead of using something like "apt install" to install your packages, you need to include one line in your project for each dependency you require, preferably locked to a specific release/hash

Examples

A Rust hello world:

FROM stagex/busybox as build
COPY --from=stagex/rust . /
COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/libunwind . /
RUN printf 'fn main(){ println!("Hello World!"); }' > hello.rs
RUN rustc hello.rs
FROM scratch
COPY --from=build /home/user/hello .
CMD ["./hello"]

An Python hello world:

FROM scratch
COPY --from=stagex/python . /
COPY --from=stagex/musl . /
COPY <<-EOF test.py
	print("Hello World")
EOF
CMD ["python", "hello.py"]

For more documentation and examples please refer to our git repository:

https://codeberg.org/stagex/stagex

Docker Pull Command

docker pull stagex/zlib